FootnotePreviewInput.document
property · packages/mixins-richtext/src/footnote.ts:21
readonly document: RichText.DocumentRich text / foldkit-mixins-richtext
interface · packages/mixins-richtext/src/footnote.ts:20
interface FootnotePreviewInput<Message> {
readonly document: RichText.Document
readonly selection: RichText.Selection | null
readonly opened: (definition: RichText.NodeId) => Message
readonly wrap: (message: EditorEvent) => Message
}FootnotePreviewInput.documentproperty · packages/mixins-richtext/src/footnote.ts:21
readonly document: RichText.DocumentFootnotePreviewInput.selectionproperty · packages/mixins-richtext/src/footnote.ts:22
readonly selection: RichText.Selection | nullFootnotePreviewInput.openedproperty · packages/mixins-richtext/src/footnote.ts:24
readonly opened: (definition: RichText.NodeId) => MessageGo to the note: the caller puts the caret at the definition's start (focus).
FootnotePreviewInput.wrapproperty · packages/mixins-richtext/src/footnote.ts:26
readonly wrap: (message: EditorEvent) => MessageAn editor Message as this caller's, usually its edited(...) wrapper.