mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
interpret 'plaintext' cells with their new name 'raw'
This commit is contained in:
parent
9ffc7829da
commit
f036c032c7
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user