Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Never allow markdown cells to be editable.
// When a cell is clicked and the cell's mode is changed to the edit mode
// Then, this below event is called.
$([]).on("edit_mode.Cell", function () {
if (IPython.notebook.get_selected_cell().cell_type == "markdown") {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment