[wp-trac] [WordPress Trac] #40360: TinyMCE error when attempting to edit images in the WYSIWYG

WordPress Trac noreply at wordpress.org
Tue Apr 4 21:11:32 UTC 2017


#40360: TinyMCE error when attempting to edit images in the WYSIWYG
--------------------------+-----------------------------
 Reporter:  eclev91       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.7.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Usually within the WYSIWYG, you can click on an image you've inserted and
 get the contextual menu to make some edits to it. I'm currently getting a
 JS error anytime I try to click on an image:


 {{{
 tinymce.min.js:10 Uncaught DOMException: Failed to execute
 'setBaseAndExtent' on 'Selection': There is no child at offset 1.
     at B.<anonymous> (https://sternerstuffdesign.com/wp/wp-
 includes/js/tinymce/tinymce.min.js?ver=4403-20160901:10:7658)
     at t.i [as fire] (https://sternerstuffdesign.com/wp/wp-
 includes/js/tinymce/tinymce.min.js?ver=4403-20160901:8:14427)
     at B.fire (https://sternerstuffdesign.com/wp/wp-
 includes/js/tinymce/tinymce.min.js?ver=4403-20160901:8:16322)
     at p.s (https://sternerstuffdesign.com/wp/wp-
 includes/js/tinymce/tinymce.min.js?ver=4403-20160901:10:15645)
     at e (https://sternerstuffdesign.com/wp/wp-
 includes/js/tinymce/tinymce.min.js?ver=4403-20160901:2:12478)
     at HTMLHtmlElement.m (https://sternerstuffdesign.com/wp/wp-
 includes/js/tinymce/tinymce.min.js?ver=4403-20160901:2:12818)
 }}}

 WordPress 4.7.3. I've deactivated all plugins and reverted to a default
 theme (TwentySeventeen) to no avail.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40360>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list