SyntheticBehaviorEvent
SyntheticBehaviorEvent: {
annotation
: {name
:string
;value
: {}; };type
:"annotation.add"
; } | {annotation
: {name
:string
; };type
:"annotation.remove"
; } | {type
:"blur"
; } | {decorator
:string
;type
:"decorator.toggle"
; } | {type
:"delete.backward"
;unit
:TextUnit
; } | {type
:"delete.forward"
;unit
:TextUnit
; } | {type
:"focus"
; } | {blockObject
: {name
:string
;value
: {}; };placement
:"auto"
|"after"
|"before"
;type
:"insert.block object"
; } | {inlineObject
: {name
:string
;value
: {}; };type
:"insert.inline object"
; } | {type
:"insert.break"
; } | {type
:"insert.soft break"
; } | {options
:TextInsertTextOptions
;text
:string
;type
:"insert.text"
; } | {listItem
:string
;type
:"list item.toggle"
; } | {selection
:EditorSelection
;type
:"select"
; } | {style
:string
;type
:"style.toggle"
; }
Defined in
packages/editor/src/behaviors/behavior.types.ts:11