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

WordPress Trac noreply at wordpress.org
Thu Mar 7 16:13:06 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 adamsilverstein):

 Replying to [comment:35 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.

 thanks for the review, will update.

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

More information about the wp-trac mailing list