[wp-trac] [WordPress Trac] #21813: Attachment views in TinyMCE
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 12 18:36:25 UTC 2012
#21813: Attachment views in TinyMCE
----------------------------+--------------------
Reporter: koopersmith | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------------+--------------------
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/21813#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list