BlockHandleInput.document
property · packages/mixins-richtext/src/handle.ts:26
readonly document: RichText.DocumentRich text / foldkit-mixins-richtext
interface · packages/mixins-richtext/src/handle.ts:25
interface BlockHandleInput<Message> {
readonly document: RichText.Document
readonly hostId: string
readonly node: RichText.NodeId
readonly wrap: (message: EditorEvent) => Message
}BlockHandleInput.documentproperty · packages/mixins-richtext/src/handle.ts:26
readonly document: RichText.DocumentBlockHandleInput.hostIdproperty · packages/mixins-richtext/src/handle.ts:28
readonly hostId: stringThe editor host's id, whose blocks a drag measures.
BlockHandleInput.nodeproperty · packages/mixins-richtext/src/handle.ts:30
readonly node: RichText.NodeIdThe block the handle stands for.
BlockHandleInput.wrapproperty · packages/mixins-richtext/src/handle.ts:32
readonly wrap: (message: EditorEvent) => MessageAn editor Message as this caller's, usually its edited(...) wrapper.