diff --git a/src/sql/parts/notebook/cellViews/placeholderCell.component.html b/src/sql/parts/notebook/cellViews/placeholderCell.component.html index 5679ce16bc..c70c404e9c 100644 --- a/src/sql/parts/notebook/cellViews/placeholderCell.component.html +++ b/src/sql/parts/notebook/cellViews/placeholderCell.component.html @@ -7,7 +7,7 @@
\ No newline at end of file diff --git a/src/sql/parts/notebook/cellViews/placeholderCell.component.ts b/src/sql/parts/notebook/cellViews/placeholderCell.component.ts index 1fe4ab13e3..38b73ce8e6 100644 --- a/src/sql/parts/notebook/cellViews/placeholderCell.component.ts +++ b/src/sql/parts/notebook/cellViews/placeholderCell.component.ts @@ -68,7 +68,10 @@ export class PlaceholderCellComponent extends CellView implements OnInit, OnChan return localize('toAddCell', 'to add a code or text cell'); } - public addCell(cellType: string): void { + public addCell(cellType: string, event?: Event): void { + if (event) { + event.stopPropagation(); + } let type: CellType =