##// 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 cell.set_text(textb);
1164 cell.set_text(textb);
1165 var new_cell = this.insert_cell_above('code');
1165 var new_cell = this.insert_cell_above('code');
1166 new_cell.set_text(texta);
1166 new_cell.set_text(texta);
1167 this.select_next();
1167 } else if (cell instanceof IPython.MarkdownCell) {
1168 } else if (cell instanceof IPython.MarkdownCell) {
1168 cell.set_text(textb);
1169 cell.set_text(textb);
1169 cell.render();
1170 cell.render();
@@ -1171,6 +1172,7 b' var IPython = (function (IPython) {'
1171 new_cell.edit(); // editor must be visible to call set_text
1172 new_cell.edit(); // editor must be visible to call set_text
1172 new_cell.set_text(texta);
1173 new_cell.set_text(texta);
1173 new_cell.render();
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