[wp-trac] [WordPress Trac] #41897: Code Editor: Add reusable code editor Customizer control

WordPress Trac noreply at wordpress.org
Mon Sep 18 06:32:08 UTC 2017


#41897: Code Editor: Add reusable code editor Customizer control
-------------------------------------+--------------------------
 Reporter:  westonruter              |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.9
Component:  Customize                |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------

Comment (by westonruter):

 @melchoyce I noticed that Jetpack's Custom CSS
 [https://github.com/Automattic/jetpack/blob/94dfd5b0a48ed2cc1332e4b09b615299bd674ade/modules
 /custom-css/custom-css/js/core-customizer-css.js#L47 configures]
 CodeMirror to have a tab-width of 2 spaces instead of 4. This would seem
 to be a great idea to use for Custom CSS in core as well as the Custom
 HTML widget given the limited horizontal space. What do you think?

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


More information about the wp-trac mailing list