##// END OF EJS Templates
Adjusted "rawcell" toolbar preset to make us of the new "register_callback"...
Raffaele De Feo -
Show More
@@ -74,12 +74,10 b''
74 return cell.metadata.raw_mimetype || "";
74 return cell.metadata.raw_mimetype || "";
75 },
75 },
76 // name
76 // name
77 "Raw NBConvert Format",
77 "Raw NBConvert Format"
78 // cell_types
79 ["raw"]
80 );
78 );
81
79
82 CellToolbar.register_callback('raw_cell.select', select_type);
80 CellToolbar.register_callback('raw_cell.select', select_type, ['raw']);
83
81
84 raw_cell_preset.push('raw_cell.select');
82 raw_cell_preset.push('raw_cell.select');
85
83
General Comments 0
You need to be logged in to leave comments. Login now