Microsoft/monaco-editor

[Bug] Codicon not loading for expand/collapse in 0.38.0v

Open

#3,972 创建于 2023年5月23日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (14,836 star) (1,283 fork)batch import
bughelp wanted

描述

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

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

贡献者指南

[Bug] Codicon not loading for expand/collapse in 0.38.0v · Microsoft/monaco-editor#3972 | Good First Issue