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

WordPress Trac noreply at wordpress.org
Mon Sep 18 06:27:41 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):

 I wrote a quick plugin which extends the [https://wordpress.org/plugins
 /customize-posts/ Customize Posts] plugin to add a “Custom CSS” control
 for each post/page section added to the Customizer :
 https://github.com/xwp/wp-customize-posts-css

 The plugin is just a proof of concept in terms of per-page custom CSS (see
 #38707), but mainly serves as a way to test the proposed new code editor
 customizer control here. The key thing here is that it confirms the code
 editor customizer control can be created dynamically with JS instead of
 just being added statically.

 See screenshots: https://github.com/xwp/wp-customize-posts-css#screenshots

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


More information about the wp-trac mailing list