[wp-trac] [WordPress Trac] #41897: Code Editor: Add reusable code editor Customizer control
WordPress Trac
noreply at wordpress.org
Fri Oct 20 21:47:15 UTC 2017
#41897: Code Editor: Add reusable code editor Customizer control
---------------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: high | Milestone: 4.9
Component: Customize | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit needs-dev-note | Focuses:
---------------------------------------------+--------------------------
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/41897#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list