R
fn

renderRuns

Render inline content into a contenteditable host imperatively (never via Vue's template diff, which would fight the caret). Marks nest by `rank` (lower = outer) for stable, deterministic output. An empty block gets a single filler `<br>` so it has height and a caret target.

Signature

ts
export function renderRuns(host: HTMLElement, inline: Inline, registry: Registry): void{ ... }

Parameters

ParameterTypeDescription
hostHTMLElement
inlineInline
registryRegistry