- A notebook cell can now be readonly, reflecting its
enabled metadata. (#5401, #1312)
However, I'm having trouble finding an example of how to actually use this. Is there a setting in JupyterLab, or somewhere else I can set a cell to be readonly?
I've tried editing the .ipynb file directly, inserting 'enabled' and 'editable' fields in the metadata field of a cell. 'enabled' is used in the changelog, while the linked commits appear to use 'editable':
this._readOnly = this.model.metadata.get('editable') === false;
My edit of the notebook file looks like this:
"metadata": {
"enabled": false
},
Any guidance is appreciated.