Readonlycell_The type of the cell.
ReadonlychangedThe changed signal.
The dirty state of the notebook that the cell belongs to, if any.
ReadonlydisposedA signal emitted when the object is disposed.
ReadonlyidCell id.
ReadonlyisReadonlyisWhether 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.
ReadonlymetadataSignal triggered when the cell metadata changes.
ReadonlynotebookThe notebook that this cell belongs to.
Text
Whether the object can undo changes.
Whether the object can redo changes.
Clear the change stack.
Delete a metadata cell.
The key to delete
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.
Get Cell id.
Cell id.
Returns a metadata associated with the cell.
Metadata key to get
Cell's metadata.
Get text.
Text.
Redo an operation.
Whether a change was made.
Sets a cell metadata.
Cell's metadata key.
Metadata value
Set text.
New text.
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.
Transaction to execute
Optionalundoable: boolean
Whether to track the change in the action history or not (default true)
Optionalorigin: anyUndo an operation.
Whether a change was made.
Replace content from start to end with value.
The start index of the range to replace (inclusive).
The end index of the range to replace (exclusive).
Optionalvalue: string
New source (optional).
Implements an API for nbformat.IBaseCell.