This commit is contained in:
rebornix 2020-05-04 11:57:33 -07:00
parent 5edd8720a0
commit 3ab249a9da

View file

@ -863,7 +863,7 @@ export class NotebookEditor extends BaseEditor implements INotebookEditor {
// update the contents of the first cell
cell.textModel.applyEdits([
{ range: cell.textModel.getFullModelRange(), text: newLinesContents[0] }
]);
], true);
// create new cells based on the new text models
const language = cell.model.language;