Trevixal API
    Preparing search index...

    Interface DocumentImporter

    The mirror of DocumentExporter for reading a picked file back in.

    interface DocumentImporter {
        extensions: readonly string[];
        label: string;
        name: string;
        parse(file: File, context: ImportContext): Promise<EditorNode>;
    }
    Index
    extensions: readonly string[]
    label: string
    name: string
    • Parameters

      Returns Promise<EditorNode>