[wp-trac] [WordPress Trac] #21813: Attachment views in TinyMCE

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 27 04:09:48 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 [22036]:
 {{{
 #!CommitTicketReference repository="" revision="22036"
 BUTTON.

 Add a "Beta Media" button to the post editor. Currently, it is only
 capable of inserting images. Other attachment types and galleries need not
 apply... yet.

 * Added `wp.media.string.image( attachment, props )` for generating an
 image as a string from an attachment and relevant attachment display
 properties.
 * Properly localized the gallery workflow.
 * Added `Workflow.update()`, which closes the modal, triggers an `update`
 event, and resets the selection.
 * Added `wp.mce.media` to manage the various media workflows for editors.

 see #21813, #21814, #21390.
 }}}

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


More information about the wp-trac mailing list