File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/vs/workbench/contrib/notebook/browser Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ import { ToolBar } from 'vs/base/browser/ui/toolbar/toolbar';
70
70
import { IKeybindingService } from 'vs/platform/keybinding/common/keybinding' ;
71
71
import { ITASExperimentService } from 'vs/workbench/services/experiment/common/experimentService' ;
72
72
import { IEditorService } from 'vs/workbench/services/editor/common/editorService' ;
73
+ import { isWeb } from 'vs/base/common/platform' ;
73
74
import { mark } from 'vs/workbench/contrib/notebook/common/notebookPerformance' ;
74
75
import { readFontInfo } from 'vs/editor/browser/config/configuration' ;
75
76
import { INotebookKernelService } from 'vs/workbench/contrib/notebook/common/notebookKernelService' ;
@@ -327,7 +328,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditor
327
328
super ( ) ;
328
329
this . isEmbedded = creationOptions . isEmbedded || false ;
329
330
330
- this . useRenderer = ! ! this . configurationService . getValue < boolean > ( ExperimentalUseMarkdownRenderer ) && ! accessibilityService . isScreenReaderOptimized ( ) ;
331
+ this . useRenderer = ! isWeb && ! ! this . configurationService . getValue < boolean > ( ExperimentalUseMarkdownRenderer ) && ! accessibilityService . isScreenReaderOptimized ( ) ;
331
332
332
333
this . _overlayContainer = document . createElement ( 'div' ) ;
333
334
this . scopedContextKeyService = contextKeyService . createScoped ( this . _overlayContainer ) ;
You can’t perform that action at this time.
0 commit comments