[wp-trac] [WordPress Trac] #21812: Make custom TinyMCE views easier to implement

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 12 18:36:24 UTC 2012


#21812: Make custom TinyMCE views easier to implement
----------------------------+---------------------
 Reporter:  koopersmith     |       Owner:  azaozz
     Type:  task (blessed)  |      Status:  closed
 Priority:  high            |   Milestone:  3.5
Component:  TinyMCE         |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------

Comment (by koopersmith):

 In [22220]:
 {{{
 #!CommitTicketReference repository="" revision="22220"
 Properly align MCE attachment views.

 * Adds a `$wrapper` property to MCE views to allow them to manipulate the
 wrapper on render. This should be used sparingly — only for layout changes
 that cannot be accomplished through altering the wrapper's children — and
 likely only for adding/removing classes.
 * Uses `wp.html.string()` in `wp.mce.view.toView()`.

 see #21390, #21812, #21813.
 }}}

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


More information about the wp-trac mailing list