Rich text / foldkit-mixins-richtext
sourcePreview
function · packages/mixins-richtext/src/source.ts:200
function sourcePreview<Message>(): SlotView.SlotView<
typeof SourcePreviewSlots,
SourcePreviewInput,
Message
>The draft as the document it would become, for split mode: drawn beside sourceEditor, it
shows what switching back would commit. It is the read-only renderer's output, so it
dispatches nothing, and it shares the editor's parse of the draft.