File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 207207 " @jupyterlab/mathjax2-extension" ,
208208 " @jupyterlab/markedparser-extension" ,
209209 " @jupyterlab/notebook-extension" ,
210+ " @jupyterlab/pdf-extension" ,
210211 " @jupyterlab/rendermime-extension" ,
211212 " @jupyterlab/running-extension" ,
212213 " @jupyterlab/shortcuts-extension" ,
Original file line number Diff line number Diff line change 66 JupyterFrontEndPlugin
77} from '@jupyterlab/application' ;
88
9+ import { Base64ModelFactory } from '@jupyterlab/docregistry' ;
10+
911import { createRendermimePlugins } from '@jupyterlab/application/lib/mimerenderers' ;
1012
1113import { LabStatus } from '@jupyterlab/application/lib/status' ;
@@ -29,6 +31,9 @@ export class NotebookApp extends JupyterFrontEnd<INotebookShell> {
2931 */
3032 constructor ( options : NotebookApp . IOptions = { shell : new NotebookShell ( ) } ) {
3133 super ( { ...options , shell : options . shell ?? new NotebookShell ( ) } ) ;
34+
35+ // Add initial model factory.
36+ this . docRegistry . addModelFactory ( new Base64ModelFactory ( ) ) ;
3237 if ( options . mimeExtensions ) {
3338 for ( const plugin of createRendermimePlugins ( options . mimeExtensions ) ) {
3439 this . registerPlugin ( plugin ) ;
You can’t perform that action at this time.
0 commit comments