-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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 Worker support for CSS Nesting #5559
Labels
Comments
Using https://github.com/mkslanc/ace-linters fixes this issue, see the playground example here Perhaps we should also consider replacing old workers in ace-builds with the ones from ace-linters? |
Highly agree, ace-linters works perfectly. |
Thanks for opening the issue. Given that ace-linters offers a way better experience here, I don't think we'll be addressing issues in the stale CSS worker code. |
TimChinye
added a commit
to TimChinye/ace
that referenced
this issue
Nov 15, 2024
<!-- Most of the files here are generated with a build script, so You probably should submit your pull request to https://github.com/ajaxorg/ace instead --> *Issue #, if available:* [ajaxorg#5559](ajaxorg#5559) *Description of changes:* Updated the mode-css.js file to latest CSS specifications, using MDN provided information and [Ace Linters](https://github.com/mkslanc/ace-linters). *Additional Info:* - Ace Linters supports Non-standard and Deprecated code, but not Experimental - this CSS Mode complies with that. - `khz` and `hz` units are no longer supported, as they're technically experimental (as in - they have not use "yet"), `gd` unit has been removed as it's seemingly a myth. Was mentioned in a single version of a CSS specification with zero information to go along with it, and removed within a year. - Still does not take into consideration the new CSS Nesting. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature
Any code that uses the new Nesting feature of CSS gets a bunch of invalid errors.
Use Case
It completely breaks the syntax validation for all code using CSS Nesting.
Proposed Solution
I can just disable the worker, temporarily, until a fix comes using
<Ace>.getSession().setUseWorker(false);
.Other Information
Unlike the CSS Mode, this isn't a major issue as it's more of a visual bug.
Acknowledgements
ACE version used
1.33.3
The text was updated successfully, but these errors were encountered: