Readonly cell in Jupyterlab

23 views
Skip to first unread message

Marius Nørgaard

unread,
Nov 27, 2018, 4:35:44 AM11/27/18
to Project Jupyter
Looking at the changelog for version 0.35.0 of JupyterLab, there is the following item:
  • 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.
Reply all
Reply to author
Forward
0 new messages