interpret 'plaintext' cells with their new name 'raw'

This commit is contained in:
MinRK 2012-03-14 12:45:28 -07:00
parent 9ffc7829da
commit f036c032c7

View File

@ -1197,6 +1197,11 @@ var IPython = (function (IPython) {
var new_cell = null;
for (i=0; i<ncells; i++) {
cell_data = new_cells[i];
// handle short-lived plaintext name for raw cells
if (cell_data.cell_type === 'plaintext'){
cell_data.cell_type = 'raw';
}
new_cell = this.insert_cell_below(cell_data.cell_type);
new_cell.fromJSON(cell_data);
};