Trevixal API
    Preparing search index...

    Interface EmbedCommands

    Media and embed commands, from @trevixal/extension-embed.

    interface EmbedCommands {
        insertAudio?: (src: string) => Command;
        insertEmbed?: (url: string) => Command;
        insertIframe?: (src: string, title?: string) => Command;
        insertLinkCard?: (attrs: { href: string; title?: string }) => Command;
        insertVideo?: (src: string) => Command;
        pickAttachment?: () => void;
    }
    Index
    insertAudio?: (src: string) => Command
    insertEmbed?: (url: string) => Command
    insertIframe?: (src: string, title?: string) => Command
    insertLinkCard?: (attrs: { href: string; title?: string }) => Command
    insertVideo?: (src: string) => Command
    pickAttachment?: () => void

    Opens a file picker; attachments upload rather than being typed in.