diff --git a/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts b/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts index bd98fcd28e500..250fbf0c4a7b5 100644 --- a/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts +++ b/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts @@ -647,7 +647,7 @@ class CodeCellDragImageRenderer { return null; } - editorContainer.innerHTML = String(richEditorText); + editorContainer.innerHTML = richEditorText as unknown as string; return dragImageContainer; }