Skip to content

Commit 64e959c

Browse files
authored
Fix microsoft#229883. content event is required for cell content change. (microsoft#229896)
1 parent 30c5902 commit 64e959c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export class NotebookCellTextModel extends Disposable implements ICell {
160160
this._alternativeId = this._textModel.getAlternativeVersionId();
161161
}
162162
this._textBufferHash = null;
163+
this._onDidChangeContent.fire('content');
163164
this._onDidChangeContent.fire({ type: 'model', event: e });
164165
}));
165166

0 commit comments

Comments
 (0)