ReadonlyeditorReadonlysnapshotToolbar state as a signal: active marks, block type, canUndo and the
rest. Reading it in a template subscribes that template and nothing else.
Mount the editing surface into a host element, typically a viewChild
in ngAfterViewInit, or an afterNextRender callback.
Returns a disposer. Calling attach again replaces the view, so a host
that re-renders its container does not end up with two.
Optionaloptions: EditorViewOptionsDestroy the view and the editor. Wire it to DestroyRef.
The engine. Everything in
@trevixal/coreis reachable through it.