##// END OF EJS Templates
Basic code cell splitting implemented.
Brian Granger -
Show More
@@ -70,6 +70,15 b' var IPython = (function (IPython) {'
70 this.element.find('#delete_cell').click(function () {
70 this.element.find('#delete_cell').click(function () {
71 IPython.notebook.delete_cell();
71 IPython.notebook.delete_cell();
72 });
72 });
73 this.element.find('#split_cell').click(function () {
74 IPython.notebook.split_cell();
75 });
76 this.element.find('#merge_cell_above').click(function () {
77 IPython.notebook.merge_cell_above();
78 });
79 this.element.find('#merge_cell_below').click(function () {
80 IPython.notebook.merge_cell_below();
81 });
73 this.element.find('#move_cell_up').click(function () {
82 this.element.find('#move_cell_up').click(function () {
74 IPython.notebook.move_cell_up();
83 IPython.notebook.move_cell_up();
75 });
84 });
@@ -91,6 +91,10 b''
91 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Below</a></li>
91 <li id="paste_cell_below" class="ui-state-disabled"><a href="#">Paste Below</a></li>
92 <li id="delete_cell"><a href="#">Delete</a></li>
92 <li id="delete_cell"><a href="#">Delete</a></li>
93 <hr/>
93 <hr/>
94 <li id="split_cell"><a href="#">Split</a></li>
95 <li id="merge_cell_above"><a href="#">Merge Above</a></li>
96 <li id="merge_cell_below"><a href="#">Merge Below</a></li>
97 <hr/>
94 <li id="move_cell_up"><a href="#">Move Up</a></li>
98 <li id="move_cell_up"><a href="#">Move Up</a></li>
95 <li id="move_cell_down"><a href="#">Move Down</a></li>
99 <li id="move_cell_down"><a href="#">Move Down</a></li>
96 <hr/>
100 <hr/>
General Comments 0
You need to be logged in to leave comments. Login now