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

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 4 15:17:17 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 scribu):

 Whether I use the new Beta Media button or the old link, after I insert an
 image into a post, in Visual mode, I can't switch to Text mode:

 {{{
 Uncaught TypeError: Cannot read property 'width' of undefined mce-
 view.js:394
 wp.media.string.image mce-view.js:394
 (anonymous function) media-upload.js:112
 T.map.T.collect underscore.min.js:5
 r.(anonymous function) backbone.min.js:25
 (anonymous function) media-upload.js:111
 g.Events.trigger backbone.min.js:9
 media.controller.Workflow.Backbone.Model.extend.update media-views.js:122
 media.view.Attachment.Library.media.view.Attachment.extend.insert media-
 views.js:477
 p.event.dispatch jquery.js:2
 g.handle.h
 }}}

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


More information about the wp-trac mailing list