Rich text / foldkit-richtext-dom/events
attach
function · packages/richtext-dom/src/events.ts:380
function attach(dom: EditorDom, options: AttachOptions): AttachmentWires the owned subtree to an application. The adapter never decides what an
edit means: it translates events into commands, hands them to onIntent, and
patches whatever the application commits.