fn
parseRuns
Parse a contenteditable host back into normalized inline runs, resolving
marks from the registry's parseDOM rules. This is the typing path — one
block, the DOM writekit painted itself; foreign HTML goes through
view/clipboard, which also knows about blocks.
Signature
ts
export function parseRuns(host: HTMLElement, registry: Registry): Inline{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
host | HTMLElement | — |
registry | Registry | — |
Returns
Inline