Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QueryEditorOptions<V, E>

Query the editor state.

Type parameters

Hierarchy

Index

Properties

Optional allow

allow: string | string[]

List of types that are valid. If empty or undefined - allow all.

Optional at

at: Location

Location from where to lookup the node types (bottom-up)

Optional exclude

exclude: string | string[]

List of types that are invalid.

Optional filter

filter: (editor: E) => boolean

Query the editor.

Type declaration

    • (editor: E): boolean
    • Parameters

      • editor: E

      Returns boolean

Optional selectionAtBlockEnd

selectionAtBlockEnd: boolean

When the selection is at the end of the block above.

Optional selectionAtBlockStart

selectionAtBlockStart: boolean

When the selection is at the start of the block above.

Generated using TypeDoc