Show More
@@ -28,7 +28,7 | |||||
28 | var button_container = div; |
|
28 | var button_container = div; | |
29 | var button = $('<button/>') |
|
29 | var button = $('<button/>') | |
30 | .addClass("btn btn-mini") |
|
30 | .addClass("btn btn-mini") | |
31 |
.text(" |
|
31 | .text("Edit Metadata") | |
32 | .click( function () { |
|
32 | .click( function () { | |
33 | raw_edit(cell); |
|
33 | raw_edit(cell); | |
34 | return false; |
|
34 | return false; | |
@@ -40,7 +40,7 | |||||
40 | var example_preset = []; |
|
40 | var example_preset = []; | |
41 | example_preset.push('default.rawedit'); |
|
41 | example_preset.push('default.rawedit'); | |
42 |
|
42 | |||
43 |
CellToolbar.register_preset(' |
|
43 | CellToolbar.register_preset('Edit Metadata', example_preset); | |
44 | console.log('Default extension for metadata editing loaded.'); |
|
44 | console.log('Default extension for cell metadata editing loaded.'); | |
45 |
|
45 | |||
46 | }(IPython)); |
|
46 | }(IPython)); |
General Comments 0
You need to be logged in to leave comments.
Login now