Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResetNodePluginRule

Hierarchy

Index

Properties

Optional defaultType

defaultType: string

Optional hotkey

hotkey: string | string[]

Hotkeys to listen to trigger a plugin action.

Optional onReset

onReset: (editor: PlateEditor<{}>) => void

Callback called when resetting.

Type declaration

predicate

predicate: (editor: PlateEditor<{}>) => boolean

Additional condition to the rule.

Type declaration

types

types: string[]

Node types where the rule applies.

Generated using TypeDoc