[wp-trac] [WordPress Trac] #23198: Pass post format as a class to TinyMCE init

WordPress Trac noreply at wordpress.org
Thu Mar 7 05:54:37 UTC 2013


#23198: Pass post format as a class to TinyMCE init
--------------------------+------------------
 Reporter:  helen         |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by azaozz):

 Some quick notes on  23198.2.diff​:

 - Still needs `if ( typeof tinymce != 'undefined )` at the top.
 - Not sure it needs `post-type-` body class as well... Nothing to do with
 formats :)
 - Seems post-formats.js is loaded only on the Edit Post screen. Can be in
 post.js, no need to be separate file.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23198#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list