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

ParameterTypeDescription
hostHTMLElement—
registryRegistry—

Returns

Inline