artalk
    Preparing search index...

    Interface EditorPluginManager

    interface EditorPluginManager {
        closePluginPanel: () => void;
        getEditor: () => Editor;
        getEvents: () => EventManager<EditorEventPayloadMap>;
        getOptions: () => PluginManagerOptions;
        getPlugins: () => EditorPlugin[];
        getTransformedContent: (rawContent: string) => string;
        openPluginPanel: (plug: EditorPlugin) => void;
        get<T extends typeof EditorPlugin>(plug: T): InstanceType<T> | undefined;
    }
    Index

    Properties

    closePluginPanel: () => void
    getEditor: () => Editor
    getEvents: () => EventManager<EditorEventPayloadMap>
    getOptions: () => PluginManagerOptions
    getPlugins: () => EditorPlugin[]
    getTransformedContent: (rawContent: string) => string
    openPluginPanel: (plug: EditorPlugin) => void

    Methods

    • Type Parameters

      • T extends typeof EditorPlugin

      Parameters

      • plug: T

      Returns InstanceType<T> | undefined