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 (1,283 fork)batch import
bughelp wanted

倉庫指標

Star
 (14,836 star)
PR 合併指標
 (平均合併 6小時 26分鐘) (30 天內合併 15 個 PR)

描述

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

貢獻者指南