diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts index d98858bbb0..8568b2d169 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts @@ -107,6 +107,7 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges { super(); this.setTurndownOptions(); this.markdownRenderer = this._instantiationService.createInstance(NotebookMarkdownRenderer); + this.doubleClickEditEnabled = this._configurationService.getValue('notebook.enableDoubleClickEdit'); this._register(toDisposable(() => { if (this.markdownResult) { this.markdownResult.dispose(); diff --git a/src/sql/workbench/contrib/notebook/browser/notebook.component.ts b/src/sql/workbench/contrib/notebook/browser/notebook.component.ts index d1c7929b40..64b2f96dea 100644 --- a/src/sql/workbench/contrib/notebook/browser/notebook.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/notebook.component.ts @@ -113,6 +113,7 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe super(); this.updateProfile(); this.isLoading = true; + this.doubleClickEditEnabled = this._configurationService.getValue('notebook.enableDoubleClickEdit'); this._register(this._configurationService.onDidChangeConfiguration(e => { this.previewFeaturesEnabled = this._configurationService.getValue('workbench.enablePreviewFeatures'); }));