Htmlmixed mode does not correctly color custom elements
See original GitHub issueCustom elements is a new spec that has been accepted and is currently being implemented by browsers. Custom elements require a -
inside the name, for example <paper-button></paper-button>
. Currently htmlmixed mode does not detect these tags. See https://github.com/webcomponents/webcomponents.org/issues/859 for usage of CodeMirror breaking highlighting of these tags. Instead of all red, the text before the -
is red and afterwards orange. The expected behavior is that the whole name is red.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
codemirror html mixed mode not being applied to JavaScript
I'm having two issues. The first is that javascript isn't being colored properly. I've included all the dependencies (xml, css and js). The...
Read more >Php - JS - HTML mixed code coloring/highlighting doesn't ...
Php - JS - HTML mixed code coloring/highlighting doesn't work whil in PHP ... Open a php file; Be sure that VS Code...
Read more >HTML mixed mode - CodeMirror
The HTML mixed mode depends on the XML, JavaScript, and CSS modes. It takes an optional mode configuration option, tags , which can...
Read more >Implementing a Code Syntax Highlight in HTML mode
The solution is based on a custom third-party syntax editor, which replaces the source mode textarea of RadEditor when switching to HTML mode...
Read more >mix-blend-mode - CSS-Tricks
normal : this attribute applies no blending whatsoever. multiply : the element is multiplied by the background and replaces the background color ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve released 5.24.2 with the fix, so that it hopefully won’t impact too many people.
@marijnh usually cuts one release per month, as you can see from the tag overview.