Perseus
    Preparing search index...

    An editor for adding an interactive definition widget that allows content editors to embed clickable terms with expandable explanations within content.

    Hierarchy

    • Component<Props>
      • DefinitionEditor
    Index

    Constructors

    • Parameters

      • props: any

      Returns DefinitionEditor

    • Parameters

      • props: any
      • context: any

      Returns DefinitionEditor

    Properties

    change: (arg1: any, arg2: any, arg3: any) => any = ...
    serialize: () => any = ...
    defaultProps: DefinitionDefaultWidgetOptions = definitionLogic.defaultWidgetOptions
    propTypes: {
        apiOptions: any;
        definition: any;
        onChange: any;
        togglePrompt: any;
    } = ...
    widgetName: "definition" = ...

    Methods