Microsoft/monaco-editor
View on GitHub[Bug] Codicon not loading for expand/collapse in 0.38.0v
Open
#3972 opened on May 23, 2023
bughelp wanted
Description
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
No response
Monaco Editor Playground Code
No response
Reproduction Steps
I tried updating the version of monaco-editor from 0.22.0 to 0.38.0 and also updated the monaco-webpack-plugin to the latest version. The issue is that the codicon icon for expanding and collapsing a codeblock is not loading instead it shows a placeholder rectangle box.
I saw that in earlier version It used to use the icons but now it is using unicodes. All the places where the unicodes are being used are rendering properly like find and replace tool but only this is not working as expected.
Nextjs Webpack 5
Attached the image for reference.
Actual (Problematic) Behavior
Instead of the codicon icon for collapse and expand the placeholder icon is rendering.
Expected Behavior
The arrow icons should render.
Additional Context
No response