You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2017. It is now read-only.
Maybe I could help out on this when you reprioritize it.
I maintain a plugin called the HTML Editor Syntax Highlighter. I've written a custom Codemirror syntax mode that highlights everything in the post/page text editor:
htmlmixed:
html
css
js
shortcodes [squarebrackets/] syntax
WP specific things:
<!--more-->
<!--nextpage-->
etc...
Adding this to WP-core for the Gutenberg editor would be awesome!
I agree, extending the htmlmixed mode with support for highlighting shortcodes and WordPress-specific comments would be really useful in WordPress, even though the post editor isn't a current target for integrating CodeMirror 4.9. It would still be useful now for when that happens, and it would be useful in the short term for a Gutenberg integration.
Also, CodeMirror should be integrated with the Custom HTML block in Gutenberg, so that's another thing that would be in scope here.
Your insights and experience are appreciated!
westonruter
changed the title
Integrate with Text mode in Gutenberg editor
Integrate with Text mode and Custom HTML block in Gutenberg editor
Sep 4, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See WordPress/gutenberg#1733
The text was updated successfully, but these errors were encountered: