EditorEmittedEvent
EditorEmittedEvent: {
event
:FocusEvent
<HTMLDivElement
,Element
>;type
:"blurred"
; } | {type
:"done loading"
; } | {type
:"editable"
; } | {data
:unknown
;description
:string
;name
:string
;type
:"error"
; } | {event
:FocusEvent
<HTMLDivElement
,Element
>;type
:"focused"
; } | {resolution
:InvalidValueResolution
|null
;type
:"invalid value"
;value
:PortableTextBlock
[] |undefined
; } | {type
:"loading"
; } |MutationEvent
|PatchEvent
| {type
:"read only"
; } | {type
:"ready"
; } | {selection
:EditorSelection
;type
:"selection"
; } | {type
:"value changed"
;value
:PortableTextBlock
[] |undefined
; }
Defined in: packages/editor/src/editor/editor-machine.ts:100