Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS syntax highlighting shows warnings on valid CSS #31322

Open
tcaruth opened this issue Feb 6, 2025 · 1 comment
Open

CSS syntax highlighting shows warnings on valid CSS #31322

tcaruth opened this issue Feb 6, 2025 · 1 comment

Comments

@tcaruth
Copy link

tcaruth commented Feb 6, 2025

Parent Issue

No response

Problem Statement

Looks like Monaco code editor running in dotCMS is version 0.33. This version is quite out of date now, and doesn't have good highlighting support for things like css nesting, :has selector, etc that are baseline.

Steps to Reproduce

  1. Open a css file through the dotCMS UI
  2. Type or paste in CSS that includes these features
  3. Observe red squiggles and a warning on mouseover

Image

Some example CSS that shows errors:

.foo {
  .bar {
    display: none;
  }
}

.foo:has(> .bar) {
  display: block;
}

Acceptance Criteria

Update Monaco to a more recent version

dotCMS Version

24.12.05

Proposed Objective

Code Maintenance

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@tcaruth
Copy link
Author

tcaruth commented Feb 6, 2025

Related: microsoft/monaco-editor#4071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant