@liquid-js/underflow
    Preparing search index...

    Interface PluginContext

    interface PluginContext {
        eventEmitter: Emitter;
        i18n: I18n;
        instance: EditorCore | Viewer;
        pmState: {
            Plugin: typeof Plugin;
            PluginKey: typeof PluginKey;
            Selection: typeof Selection;
            TextSelection: typeof TextSelection;
        };
        pmView: {
            Decoration: typeof Decoration;
            DecorationSet: typeof DecorationSet;
        };
        pmModel: { Fragment: typeof Fragment };
        pmRules: {
            inputRules: (
                __namedParameters: { rules: readonly InputRule[] },
            ) => Plugin<PluginState>;
            InputRule: typeof InputRule;
            undoInputRule: Command;
        };
        pmKeymap: { keymap: (bindings: { [key: string]: Command }) => Plugin };
    }
    Index
    eventEmitter: Emitter
    i18n: I18n
    instance: EditorCore | Viewer
    pmState: {
        Plugin: typeof Plugin;
        PluginKey: typeof PluginKey;
        Selection: typeof Selection;
        TextSelection: typeof TextSelection;
    }
    pmView: { Decoration: typeof Decoration; DecorationSet: typeof DecorationSet }
    pmModel: { Fragment: typeof Fragment }
    pmRules: {
        inputRules: (
            __namedParameters: { rules: readonly InputRule[] },
        ) => Plugin<PluginState>;
        InputRule: typeof InputRule;
        undoInputRule: Command;
    }

    Type Declaration

    • inputRules: (__namedParameters: { rules: readonly InputRule[] }) => Plugin<PluginState>
    • InputRule: typeof InputRule
    • undoInputRule: Command
    pmKeymap: { keymap: (bindings: { [key: string]: Command }) => Plugin }

    Type Declaration

    • keymap: (bindings: { [key: string]: Command }) => Plugin