[wp-trac] [WordPress Trac] #12423: Include Ace (or similar) as default code editor
WordPress Trac
noreply at wordpress.org
Sun Feb 19 03:32:23 UTC 2017
#12423: Include Ace (or similar) as default code editor
-----------------------------+----------------------------
Reporter: scribu | Owner: afercia
Type: feature request | Status: assigned
Priority: normal | Milestone: 4.8
Component: Editor | Version: 3.0
Severity: normal | Resolution:
Keywords: | Focuses: accessibility
-----------------------------+----------------------------
Comment (by georgestephanis):
First attempt at including CodeMirror in a patch is attached.
Be warned, it's over 700k, as it's just the unminified sources.
The current patch does two things:
1) Add and register the relevant scripts and styles
2) Implements them for the Theme Editor screen -- CSS and PHP files.
That should let us play around a bit and see how it works in practice for
a11y and the like.
There are a lot of files that I left out of the patch -- some addons, and
some languages. There were a few addons and languages we likely won't
directly need, but I included because they were pretty small and would
likely be useful for some plugin authors -- like the Markdown and SQL
modes, for example.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12423#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list