Closed kolbykruger closed 6 years ago
Indeed, I can reproduce it with justify-content: center;
. I'll look into it asap :smile:
Well, actually it does work:
in CSS:
in HTML:
However, it doesn't work in SASS:
Which is the same as Ace (try in the kitchen sink)
The flex-flow
property suffers from the same issue in SASS/SCSS.
They are, however, properly highlighted in LESS.
@c0mat0se I think the proper step would be to open a ticket in the Ace repo https://github.com/ajaxorg/ace/issues regarding SASS highlighting issues.
Will do. Thanks man!
I have some interesting discrepancies in the highlighting in MODX vs the Ace Editor highlight demo.
For instance, using the flex property for CSS:
justify-content: center;
in MODX it does not syntax highlight forjustify-content
, although in the Ace Editor demo seen here: (https://ace.c9.io/build/kitchen-sink.html) it highlights perfectly.Could this be something to do with the custom MODX highlighting in
modx_highlight_rules.js
? It happens with the old Ace extra as well, and it seems the only similarities are that file pulled from that project.