Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QueryEditorOptions

Query the editor state.

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: TEditor<AnyObject>) => boolean

Query the editor.

Type declaration

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