Switch notebook editor from Monaco back to Code Mirror (#901)

This commit is contained in:
Laurent Nguyen
2021-06-23 21:05:52 +02:00
committed by GitHub
parent 738a02a0f3
commit 6b35ab03f2
10 changed files with 267 additions and 156 deletions

View File

@@ -55,7 +55,7 @@ export class NotebookViewerComponent
databaseAccountName: undefined,
defaultExperience: "NotebookViewer",
isReadOnly: true,
cellEditorType: "monaco",
cellEditorType: "codemirror",
autoSaveInterval: 365 * 24 * 3600 * 1000, // There is no way to turn off auto-save, set to 1 year
contentProvider: contents.JupyterContentProvider, // NotebookViewer only knows how to talk to Jupyter contents API
});