Skip to content

Commit

Permalink
Fix notebook support
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
  • Loading branch information
tsmaeder committed Feb 5, 2024
1 parent b8056d5 commit 58a4d67
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class NotebookCellContextManager implements NotebookCellContextManager, D
this.toDispose.dispose();

this.currentContext = newHtmlContext;
this.currentStore = this.contextKeyService.createScoped(newHtmlContext);

this.currentStore.setContext(NOTEBOOK_CELL_TYPE, cell.cellKind === CellKind.Code ? 'code' : 'markdown');

Expand Down

0 comments on commit 58a4d67

Please sign in to comment.