Trevixal API
    Preparing search index...

    Interface ImageActions

    Image actions the UI drives; @trevixal/extension-image satisfies this.

    interface ImageActions {
        insertImage: (
            attrs: { alt?: string; src: string; title?: string },
        ) => void;
        pickFiles: () => void;
    }
    Index
    insertImage: (attrs: { alt?: string; src: string; title?: string }) => void

    Insert an image that is already hosted somewhere.

    pickFiles: () => void

    Open a file picker and upload whatever the user chooses.