Rich text / foldkit-richtext-dom
mount
function · packages/richtext-dom/src/index.ts:197
function mount(
owner: Document,
content: RichText.Document,
rendering?: RichText.Rendering,
decorations?: RichText.DecorationSet,
): EditorDomBuilds the owned subtree and the identity index it is patched through. Decorations are
drawn over it and never become content (§64); like the read-only view's, they are a set
for this render, and patch takes the next render's.