Abstract interface to define Shared Models that can be bound to a text editor using any existing Yjs-based editor binding.
The changed signal.
A signal emitted when the object is disposed.
Test whether the object has been disposed.
This property is always safe to access.
Whether the object can undo changes.
Whether the object can redo changes.
Clear the change stack.
Dispose of the resources held by the object.
If the object's
dispose method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Redo an operation.
Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.
Transaction to execute
Optional undoable: boolean
Whether to track the change in the action history or not (default
Undo an operation.
Replace content from
Optional value: string
Generated using TypeDoc