##// END OF EJS Templates
split focuses the top of the newly created cell
Paul Ivanov -
Show More
@@ -1164,6 +1164,7 b' var IPython = (function (IPython) {'
1164 1164 cell.set_text(textb);
1165 1165 var new_cell = this.insert_cell_above('code');
1166 1166 new_cell.set_text(texta);
1167 this.select_next();
1167 1168 } else if (cell instanceof IPython.MarkdownCell) {
1168 1169 cell.set_text(textb);
1169 1170 cell.render();
@@ -1171,6 +1172,7 b' var IPython = (function (IPython) {'
1171 1172 new_cell.edit(); // editor must be visible to call set_text
1172 1173 new_cell.set_text(texta);
1173 1174 new_cell.render();
1175 this.select_next();
1174 1176 }
1175 1177 };
1176 1178 };
General Comments 0
You need to be logged in to leave comments. Login now