Skip to content

Commit e545399

Browse files
committed
Remove custom windowing plugin
1 parent 91dc119 commit e545399

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

packages/notebook-extension/src/index.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -563,22 +563,6 @@ const editNotebookMetadata: JupyterFrontEndPlugin<void> = {
563563
},
564564
};
565565

566-
/**
567-
* A plugin to set the default windowing mode to defer for the notebook
568-
* TODO: remove?
569-
*/
570-
const windowing: JupyterFrontEndPlugin<void> = {
571-
id: '@jupyter-notebook/notebook-extension:windowing',
572-
autoStart: true,
573-
requires: [INotebookTracker],
574-
activate: (app: JupyterFrontEnd, notebookTracker: INotebookTracker): void => {
575-
notebookTracker.widgetAdded.connect((sender, widget) => {
576-
widget.content['_viewModel'].windowingActive = false;
577-
widget.content.notebookConfig.windowingMode = 'defer';
578-
});
579-
},
580-
};
581-
582566
/**
583567
* Export the plugins as default.
584568
*/
@@ -592,7 +576,6 @@ const plugins: JupyterFrontEndPlugin<any>[] = [
592576
scrollOutput,
593577
tabIcon,
594578
trusted,
595-
windowing,
596579
];
597580

598581
export default plugins;

0 commit comments

Comments
 (0)