[wp-trac] [WordPress Trac] #29216: Cannot read previousSibling of null when inserting wp-view.

WordPress Trac noreply at wordpress.org
Fri Aug 15 07:38:24 UTC 2014


#29216: Cannot read previousSibling of null when inserting wp-view.
--------------------------+------------------------------
 Reporter:  programmin    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, javascript
--------------------------+------------------------------
Changes (by ocean90):

 * keywords:   => needs-patch
 * version:  trunk => 3.9


Comment:

 Confirmed, but could reproduce it in 3.9 too.

 Stack:
 {{{
 Uncaught TypeError: Cannot read property 'previousSibling' of null
 tinymce.js?ver=4103-20140809:19843
 addCommands.mceInsertContent tinymce.js?ver=4103-20140809:19843
 execCommand tinymce.js?ver=4103-20140809:19391
 Editor.execCommand tinymce.js?ver=4103-20140809:29430
 send_to_editor media-upload.js?ver=4.0-beta4-src:23
 wp.media.editor.insert media-editor.js?ver=4.0-beta4-src:769
 (anonymous function) media-editor.js?ver=4.0-beta4-src:849
 triggerEvents backbone.js?ver=1.1.2:207
 Backbone.Events.trigger backbone.js?ver=1.1.2:148
 toolbar.set.media.view.Toolbar.items.insert.click media-
 views.js?ver=4.0-beta4-src:2799
 media.view.Button.media.View.extend.click media-
 views.js?ver=4.0-beta4-src:4273
 m.event.dispatch jquery.js?ver=1.11.1:3
 r.handle jquery.js?ver=1.11.1:3
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29216#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list