Rich text / foldkit-richtext-dom/host
decorationsFor
function · packages/richtext-dom/src/host.ts:62
function decorationsFor(hostId: string): DecorateWhat is drawn over a host's document: the placement's decorations, then the overlay. Both are read on each draw, so an overlay set after the editor attached is drawn too.