##// END OF EJS Templates
Changing a heading cell level should enter edit mode and set dirty
Brian E. Granger -
Show More
@@ -888,9 +888,9 b' var IPython = (function (IPython) {'
888 target_cell.code_mirror.clearHistory();
888 target_cell.code_mirror.clearHistory();
889 source_element.remove();
889 source_element.remove();
890 this.select(i);
890 this.select(i);
891 this.edit_mode();
892 this.set_dirty(true);
893 };
891 };
892 this.edit_mode();
893 this.set_dirty(true);
894 $([IPython.events]).trigger('selected_cell_type_changed.Notebook',
894 $([IPython.events]).trigger('selected_cell_type_changed.Notebook',
895 {'cell_type':'heading',level:level}
895 {'cell_type':'heading',level:level}
896 );
896 );
General Comments 0
You need to be logged in to leave comments. Login now