You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
root ee22027d4f
fix rights to 755 (linux actual)
2 years ago
..
config.yaml fix rights to 755 (linux actual) 2 years ago
icon.png fix rights to 755 (linux actual) 2 years ago
main.js fix rights to 755 (linux actual) 2 years ago
readme.md fix rights to 755 (linux actual) 2 years ago

readme.md

Freeze

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.

##Internals

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.