From 6f97e28dea9f84d813fbfca45bd141a4932bf6bf Mon Sep 17 00:00:00 2001 From: rebornix Date: Tue, 2 Jun 2020 18:11:43 -0700 Subject: [PATCH] Fix #98839. --- .../workbench/contrib/notebook/common/model/notebookTextModel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.ts b/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.ts index c47e6d922fb..5f91e090163 100644 --- a/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.ts +++ b/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.ts @@ -358,6 +358,7 @@ export class NotebookTextModel extends Disposable implements INotebookTextModel const cells = this.cells.splice(index, 1); this.cells.splice(newIdx, 0, ...cells); + this._onDidChangeContent.fire(); this._increaseVersionId();