Skip to content

Commit 3236b8d

Browse files
committed
Revert "Enable the notebook renderer on web"
This reverts commit 7d9dcac.
1 parent 9bacf61 commit 3236b8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ import { ToolBar } from 'vs/base/browser/ui/toolbar/toolbar';
7070
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding';
7171
import { ITASExperimentService } from 'vs/workbench/services/experiment/common/experimentService';
7272
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
73+
import { isWeb } from 'vs/base/common/platform';
7374
import { mark } from 'vs/workbench/contrib/notebook/common/notebookPerformance';
7475
import { readFontInfo } from 'vs/editor/browser/config/configuration';
7576
import { INotebookKernelService } from 'vs/workbench/contrib/notebook/common/notebookKernelService';
@@ -327,7 +328,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
327328
super();
328329
this.isEmbedded = creationOptions.isEmbedded || false;
329330

330-
this.useRenderer = !!this.configurationService.getValue<boolean>(ExperimentalUseMarkdownRenderer) && !accessibilityService.isScreenReaderOptimized();
331+
this.useRenderer = !isWeb && !!this.configurationService.getValue<boolean>(ExperimentalUseMarkdownRenderer) && !accessibilityService.isScreenReaderOptimized();
331332

332333
this._overlayContainer = document.createElement('div');
333334
this.scopedContextKeyService = contextKeyService.createScoped(this._overlayContainer);

0 commit comments

Comments
 (0)