String identifying the type of cell.
The changed signal.
Test whether the object has been disposed.
This property is always safe to access.
Whether the cell is standalone or not.
If the cell is standalone. It cannot be inserted into a YNotebook because the Yjs model is already attached to an anonymous Y.Doc instance.
Whether the object can undo changes.
Whether the object can redo changes.
Clear the change stack.
Create a new YCodeCell that can be inserted into a YNotebook.
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.
Gets the cell attachments.
The cell attachments.
Get Cell id.
Returns the metadata associated with the notebook.
Gets cell's source.
Redo an operation.
Sets the cell attachments
Sets the metadata associated with the notebook.
Sets cell's source.
Serialize the model to JSON.
Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.
Undo an operation.
Replace content from
start' to end
Generated using TypeDoc
Implements an API for nbformat.IMarkdownCell.