diff --git a/src/sql/workbench/parts/notebook/browser/notebook.component.html b/src/sql/workbench/parts/notebook/browser/notebook.component.html index e7de69e9c9..bd3626aa07 100644 --- a/src/sql/workbench/parts/notebook/browser/notebook.component.html +++ b/src/sql/workbench/parts/notebook/browser/notebook.component.html @@ -11,11 +11,11 @@
- - @@ -29,11 +29,11 @@
- - diff --git a/src/sql/workbench/parts/notebook/browser/notebook.component.ts b/src/sql/workbench/parts/notebook/browser/notebook.component.ts index e489677947..73bf44d52c 100644 --- a/src/sql/workbench/parts/notebook/browser/notebook.component.ts +++ b/src/sql/workbench/parts/notebook/browser/notebook.component.ts @@ -200,7 +200,10 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe } // Add cell based on cell type - public addCell(cellType: CellType, index?: number) { + public addCell(cellType: CellType, index?: number, event?: Event) { + if (event) { + event.stopPropagation(); + } this._model.addCell(cellType, index); }