diff --git a/src/vs/workbench/contrib/notebook/browser/notebookEditor.ts b/src/vs/workbench/contrib/notebook/browser/notebookEditor.ts index 6ed71c69a3b445329201d7fa3bd2ff37090824a1..c0378bad9f4208f554747d992a7741b315a46816 100644 --- a/src/vs/workbench/contrib/notebook/browser/notebookEditor.ts +++ b/src/vs/workbench/contrib/notebook/browser/notebookEditor.ts @@ -148,6 +148,7 @@ export class NotebookEditor extends BaseEditor implements INotebookEditor { this.createBody(this.rootElement); this.generateFontInfo(); this.editorFocus = NOTEBOOK_EDITOR_FOCUSED.bindTo(this.contextKeyService); + this.editorFocus.set(true); this._register(this.onDidFocus(() => { this.editorFocus?.set(true); }));