From 21ddc2fc33bacfa8bc21cb616ab4e131bde046f0 2014-04-23 23:07:30 From: Min RK Date: 2014-04-23 23:07:30 Subject: [PATCH] Merge pull request #5717 from AlbertHilb/RawCell "rawcell" toolbar preset adjustment --- diff --git a/IPython/html/static/notebook/js/celltoolbarpresets/rawcell.js b/IPython/html/static/notebook/js/celltoolbarpresets/rawcell.js index 6f16cf3..4c90b09 100644 --- a/IPython/html/static/notebook/js/celltoolbarpresets/rawcell.js +++ b/IPython/html/static/notebook/js/celltoolbarpresets/rawcell.js @@ -74,12 +74,10 @@ return cell.metadata.raw_mimetype || ""; }, // name - "Raw NBConvert Format", - // cell_types - ["raw"] + "Raw NBConvert Format" ); - CellToolbar.register_callback('raw_cell.select', select_type); + CellToolbar.register_callback('raw_cell.select', select_type, ['raw']); raw_cell_preset.push('raw_cell.select');