Rich text / foldkit-richtext-dom/host
mountInto
function · packages/richtext-dom/src/host.ts:156
function mountInto(
host: Element,
content: RichText.Document,
options: AttachOptions,
rendering?: RichText.Rendering,
): AttachmentRenders content into host and records the attachment. The host is the
view's element; the subtree the interpreter creates goes inside it, and the
interpreter owns everything below. A rendering registry decides how a declared
mark or node kind renders, and the same one is kept for later patches.