Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EditorOptions

interface EditorOptions {
autofocus: FocusPosition;
content: Content;
coreExtensionOptions?: {
clipboardTextSerializer?: {
blockSeparator?: string;
}
;
}
;
editable: boolean;
editorProps: EditorProps;
element: Element;
enableCoreExtensions: boolean;
enableInputRules: EnableRules;
enablePasteRules: EnableRules;
extensions: Extensions;
injectCSS: boolean;
injectNonce: string | undefined;
onBeforeCreate: (props: EditorEvents["beforeCreate"]) => void;
onBlur: (props: EditorEvents["blur"]) => void;
onCreate: (props: EditorEvents["create"]) => void;
onDestroy: (props: EditorEvents["destroy"]) => void;
onFocus: (props: EditorEvents["focus"]) => void;
onSelectionUpdate: (props: EditorEvents["selectionUpdate"]) => void;
onTransaction: (props: EditorEvents["transaction"]) => void;
onUpdate: (props: EditorEvents["update"]) => void;
parseOptions: ParseOptions;
}

§Properties

§
coreExtensionOptions?: {
clipboardTextSerializer?: {
blockSeparator?: string;
}
;
}
[src]
§
editable: boolean
[src]
§
editorProps: EditorProps
[src]
§
element: Element
[src]
§
enableCoreExtensions: boolean
[src]
§
enableInputRules: EnableRules
[src]
§
enablePasteRules: EnableRules
[src]
§
extensions: Extensions
[src]
§
injectCSS: boolean
[src]
§
injectNonce: string | undefined
[src]
§
onBeforeCreate: (props: EditorEvents["beforeCreate"]) => void
[src]
§
onBlur: (props: EditorEvents["blur"]) => void
[src]
§
onCreate: (props: EditorEvents["create"]) => void
[src]
§
onDestroy: (props: EditorEvents["destroy"]) => void
[src]
§
onFocus: (props: EditorEvents["focus"]) => void
[src]
§
onSelectionUpdate: (props: EditorEvents["selectionUpdate"]) => void
[src]
§
onTransaction: (props: EditorEvents["transaction"]) => void
[src]
§
onUpdate: (props: EditorEvents["update"]) => void
[src]
§
parseOptions: ParseOptions
[src]