@witchcraft/editor
    Preparing search index...

    Interface FileUploadOptions

    Options for the pickFile command. Pass at registration time or override at call time.

    interface FileUploadOptions {
        acceptTypes?: {}[];
    }

    Hierarchy (View Summary)

    Index
    acceptTypes?: {}[]

    Allowed file types for the file picker dialog.

    Follows the File System Access API structure.

    If passed to FileInsert, sets the defaults for the pickFile command.

    [{ description: "Images", accept: { "image/*": [".png", ".jpg", ".jpeg", ".gif", ".webp", ".bmp"] } }]