[wp-trac] [WordPress Trac] #37599: Editor (WP_Editor or TinyMCE) page template body class

WordPress Trac noreply at wordpress.org
Mon Aug 8 12:53:11 UTC 2016


#37599: Editor (WP_Editor or TinyMCE) page template body class
--------------------------+-----------------------------
 Reporter:  webmandesign  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.5.3
 Severity:  normal        |   Keywords:
  Focuses:  ui, template  |
--------------------------+-----------------------------
 Hi,

 Currently the post editor (TinyMCE) applies several classes on the
 editor's HTML `body#tinymce`:

 * Post type class
 * Post status class
 * If supported, post format class

 However, it would be good idea to support a page template classes here
 too.

 '''Usecase:'''

 Theme author may target different content widths within editor stylesheet
 depending on the page template set. Such as for fullwidth page template or
 page with sidebar template.

 Thanks for consideration!

 Regards,

 Oliver

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37599>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list