[wp-trac] [WordPress Trac] #42467: CodeMirror description in About Page String
WordPress Trac
noreply at wordpress.org
Mon Mar 5 14:10:49 UTC 2018
#42467: CodeMirror description in About Page String
--------------------------+------------------------
Reporter: atachibana | Owner: melchoyce
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9.5
Component: Text Changes | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------
Comment (by johneckman):
I have a feeling by the time we reach agreement it'll be time for 5.0 and
this won't matter anymore, but let's try the attached.
Changes the first paragraph under Coding Enhancements to:
> If you’ve ever had a need to edit CSS, HTML, or JavaScript from within
the WordPress dashboard, you know how easy it can be to miss syntax errors
or other problems. That’s why we’ve introduced a new code editing library
which allows for syntax highlighting, error checking, and validation.
You’ll be able to scan code, identify potential issues, and fix errors
quickly. This new library is used by the Custom HTML widget (introduced in
WordPress 4.8.1), but developers will also be able to use this library
wherever they provide code writing or editing experiences.
Changes the paragraph under Developer Happiness to:
> We’ve introduced a new code editing library, CodeMirror, for use within
core. Use it to improve any code writing or editing experiences within
your plugins. For example, as a theme author, you could provide a place in
your theme settings for someone to add JavaScript or CSS to your theme
output, so folks using your theme can include font files or tracking
codes. Lean more about WP_Customize_Code_Editor_Control
With a link to
https://developer.wordpress.org/reference/classes/wp_customize_code_editor_control/
I suppose the first paragraph (from Coding Enhancements) could also point
out it is used in the customizer additional CSS as well as in theme editor
and plugin editor, but I don't think that's necessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42467#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list