Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResetNodePluginRule<V, E>

Type parameters

Hierarchy

Index

Properties

Optional defaultType

defaultType: string

Optional hotkey

hotkey: string | string[]

Hotkeys to listen to trigger a plugin action.

Optional onReset

onReset: (editor: E) => void

Callback called when resetting.

Type declaration

    • (editor: E): void
    • Parameters

      • editor: E

      Returns void

predicate

predicate: (editor: E) => boolean

Additional condition to the rule.

Type declaration

    • (editor: E): boolean
    • Parameters

      • editor: E

      Returns boolean

types

types: string[]

Node types where the rule applies.

Generated using TypeDoc