Skip to content

TestEditorOptions

type TestEditorOptions = {
blocks?: (editor) => BlockDescriptor[];
content?: DocumentNode | BlockNode[];
extensions?: ExtensionFactory[];
marks?: (editor) => MarkDescriptor[];
selection?: Selection;
};

Defined in: editor.ts:28

PropertyTypeDefined in
blocks?(editor) => BlockDescriptor[]editor.ts:31
content?DocumentNode | BlockNode[]editor.ts:29
extensions?ExtensionFactory[]editor.ts:33
marks?(editor) => MarkDescriptor[]editor.ts:32
selection?Selectioneditor.ts:30