Skip to content
jcb91 [various] bugfix toolabr buttons with id
the ability to specify an action and an id was only added in notebook 5.2.0
(in jupyter/notebook@af244a6)
so any release before that fails to create buttons using the {id: 'btn-id', action: }
Latest commit f783aae Oct 18, 2017


This extension allows to make cells read-only or frozen. It provides three buttons:

  • unlock
  • read-only
  • frozen

For code-cells:
read-only: it can be executed, but its input cannot be changed.
frozen: It cannot be either altered or executed.

For markdown-cells:
read-only: It's input can be viewed by double-clicking on it, but cannot be changed.
frozen: Input cannot be viewed by double-clicking.

To change the state of a selected cell, press the corresponding button.

The individual cell's state is stored in its metadata and is applied to the cell if the extension is loaded.


The read-only state is stored in the cell.metadata.editable attribute. Cells are editable by default. The frozen state is stored in the cell.metadata.run_control.frozenattribute.

You can’t perform that action at this time.