[wp-trac] [WordPress Trac] #12423: Include default code editor

WordPress Trac noreply at wordpress.org
Fri Oct 20 21:47:16 UTC 2017


#12423: Include default code editor
---------------------------------------------+----------------------------
 Reporter:  scribu                           |       Owner:  westonruter
     Type:  feature request                  |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9
Component:  Editor                           |     Version:  3.0
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch commit needs-dev-note  |     Focuses:  accessibility
---------------------------------------------+----------------------------

Comment (by westonruter):

 In [changeset:"41958"]:
 {{{
 #!CommitTicketReference repository="" revision="41958"
 Customize: Add `codemirror` deferred object to `CodeEditorControl` which
 is resolved when CodeMirror is initialized.

 CodeMirror gets initialized once the control's containing section is
 expanded. The deferred will be rejected if user preference for syntax
 highlighting is disabled.
 Also move jsdoc from `wp.customize.Control` to intended
 `wp.customize.Control#initialize()`.

 See #41897, #12423.
 }}}

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


More information about the wp-trac mailing list