diff --git a/src/sql/parts/notebook/cellViews/textCell.component.ts b/src/sql/parts/notebook/cellViews/textCell.component.ts index 963b632ff9..a8fa274db4 100644 --- a/src/sql/parts/notebook/cellViews/textCell.component.ts +++ b/src/sql/parts/notebook/cellViews/textCell.component.ts @@ -82,9 +82,7 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges { if (propName === 'activeCellId') { let changedProp = changes[propName]; this._activeCellId = changedProp.currentValue; - if (this._activeCellId) { - this.toggleEditMode(false); - } + this.toggleEditMode(false); break; } } @@ -117,7 +115,7 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges { } return content; } - + // Todo: implement layout public layout() { diff --git a/src/sql/parts/notebook/notebook.component.html b/src/sql/parts/notebook/notebook.component.html index 6f44e48122..338099d191 100644 --- a/src/sql/parts/notebook/notebook.component.html +++ b/src/sql/parts/notebook/notebook.component.html @@ -7,9 +7,9 @@