[wp-trac] [WordPress Trac] #42467: CodeMirror description in About Page String

WordPress Trac noreply at wordpress.org
Mon Jan 29 19:57:10 UTC 2018


#42467: CodeMirror description in About Page String
--------------------------+------------------------
 Reporter:  atachibana    |       Owner:  melchoyce
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  4.9.4
Component:  Text Changes  |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------

Comment (by melchoyce):

 Yeah, seems like we're combining this blurb from Coding Enhancements:

 > '''Syntax Highlighting and Error Checking? Yes, Please! '''
 >
 > You’ve got a display problem but can’t quite figure out exactly what
 went wrong in the CSS you lovingly wrote. With syntax highlighting and
 error checking for CSS editing and the Custom HTML widget introduced in
 WordPress 4.8.1, you’ll pinpoint coding errors quickly. Practically
 guaranteed to help you scan code more easily, and suss out & fix code
 errors quickly.

 And this blurb from Developer Happiness:

 > '''CodeMirror available for use in your themes and plugins'''
 > We’ve introduced a new code editing library, CodeMirror, for use within
 core. CodeMirror allows for syntax highlighting, error checking, and
 validation when creating code writing or editing experiences within your
 plugins, like CSS or JavaScript include fields.

 The issue in this ticket seems to be about the latter blurb, clarifying
 what "like CSS or JavaScript include fields" means.

 The intent with that sentence was to show where CodeMirror could be used.
 For example, if you're a theme author, and you provide a place in your
 theme settings for someone to add JavaScript to your theme header, so
 folks using your themes can include font files or Google Analytics
 tracking codes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42467#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list