[v3-3-test] UI: Load Monaco codicon glyph styles via direct CSS import (#69419) - #69422
Merged
Conversation
#69419) monaco-editor 0.53 removed the `codiconStyles` side-effect module that the local ESM Monaco setup imported to register the codicon glyph font (the folding arrows and find-widget icons). Import the two stylesheets that module pulled in — `codicon/codicon.css` and `codicon/codicon-modifiers.css` — directly instead, mirroring the existing dynamic-CSS-import pattern already used for Katex. Both files ship in the currently pinned 0.52.2 and in newer releases, so this is behaviour-neutral today and lets the editor keep rendering its glyphs once monaco-editor is bumped past 0.52, unblocking the pending dependency update. (cherry picked from commit 2629cf3) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
1 task
potiuk
marked this pull request as ready for review
July 5, 2026 22:57
potiuk
requested review from
bbovenzi,
choo121600,
guan404ming,
pierrejeambrun,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
July 5, 2026 22:57
Contributor
Author
|
Hi maintainer, this PR was merged without a milestone set.
|
vatsrahul1001
pushed a commit
that referenced
this pull request
Jul 7, 2026
#69419) (#69422) monaco-editor 0.53 removed the `codiconStyles` side-effect module that the local ESM Monaco setup imported to register the codicon glyph font (the folding arrows and find-widget icons). Import the two stylesheets that module pulled in — `codicon/codicon.css` and `codicon/codicon-modifiers.css` — directly instead, mirroring the existing dynamic-CSS-import pattern already used for Katex. Both files ship in the currently pinned 0.52.2 and in newer releases, so this is behaviour-neutral today and lets the editor keep rendering its glyphs once monaco-editor is bumped past 0.52, unblocking the pending dependency update. (cherry picked from commit 2629cf3) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001
pushed a commit
that referenced
this pull request
Jul 9, 2026
#69419) (#69422) monaco-editor 0.53 removed the `codiconStyles` side-effect module that the local ESM Monaco setup imported to register the codicon glyph font (the folding arrows and find-widget icons). Import the two stylesheets that module pulled in — `codicon/codicon.css` and `codicon/codicon-modifiers.css` — directly instead, mirroring the existing dynamic-CSS-import pattern already used for Katex. Both files ship in the currently pinned 0.52.2 and in newer releases, so this is behaviour-neutral today and lets the editor keep rendering its glyphs once monaco-editor is bumped past 0.52, unblocking the pending dependency update. (cherry picked from commit 2629cf3) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001
pushed a commit
that referenced
this pull request
Aug 5, 2026
#69419) (#69422) monaco-editor 0.53 removed the `codiconStyles` side-effect module that the local ESM Monaco setup imported to register the codicon glyph font (the folding arrows and find-widget icons). Import the two stylesheets that module pulled in — `codicon/codicon.css` and `codicon/codicon-modifiers.css` — directly instead, mirroring the existing dynamic-CSS-import pattern already used for Katex. Both files ship in the currently pinned 0.52.2 and in newer releases, so this is behaviour-neutral today and lets the editor keep rendering its glyphs once monaco-editor is bumped past 0.52, unblocking the pending dependency update. (cherry picked from commit 2629cf3) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
monaco-editor 0.53 removed the
codiconStylesside-effect module that thelocal ESM Monaco setup imported to register the codicon glyph font (the
folding arrows and find-widget icons). Import the two stylesheets that module
pulled in —
codicon/codicon.cssandcodicon/codicon-modifiers.css—directly instead, mirroring the existing dynamic-CSS-import pattern already
used for Katex.
Both files ship in the currently pinned 0.52.2 and in newer releases, so this
is behaviour-neutral today and lets the editor keep rendering its glyphs once
monaco-editor is bumped past 0.52, unblocking the pending dependency update.
(cherry picked from commit 2629cf3)
Co-authored-by: Jarek Potiuk jarek@potiuk.com