Variable: createRootEditorSubscription$

Const createRootEditorSubscription$: NodeRef<EditorSubscription | EditorSubscription[]>

An input signal that lets you register a new EditorSubscription for the root editor.

Example

realm.pub(createRootEditorSubscription$, (theEditor) => {
 return theEditor.registerUpdateListener(() => { ... })
 // or a command
 // return theEditor.registerCommand('my-command', () => { ... })
})