[wp-trac] [WordPress Trac] #36545: Wordpress TinyMCE toolbar/tabs unresponsive in Chrome Version 50.0.2661.75 beta-m (64-bit)

WordPress Trac noreply at wordpress.org
Fri Apr 15 22:05:01 UTC 2016


#36545: Wordpress TinyMCE toolbar/tabs unresponsive in Chrome Version 50.0.2661.75
beta-m (64-bit)
--------------------------+-----------------------------
 Reporter:  doncullen     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I'm using Chrome version 50.0.2661.75 beta-m (64-bit).  Updated to
 WordPress 4.5, noticed TinyMCE was no longer working correctly.

 I can't click on 'Text' to edit source code. I'm unable to use any of the
 toolbar options. Clicking on 'Text' tab or clicking on the toolbar options
 result in this error (as seen via console):

 {{{
 wp-tinymce.php?c=1&ver=4308-20160323:12
 Uncaught TypeError: Cannot read property 'ownerDocument' of undefined
 }}}

 Clicking on the link for wp-tinymce.php as given by console brings this
 up:

 {{{
 var n = e.activeEditor;
                     n && t.target.ownerDocument == document &&
 (n.selection && t.target != n.getBody() && (n.selection.lastFocusBookmark
 = c(n.dom, n.lastRng)),
                     t.target == document.body || d(t.target) ||
 e.focusedEditor != n || (n.fire("blur", {
                         focusedEditor: null
                     }),
 }}}

 With this particular text {{{t.target.ownerDocument == document}}} being
 highlighted.

 I've tried reinstalling WP 4.5 along with all plugins being disabled,
 still the same problem.

 Checked my other blog, runs off its own copy (I have two installations,
 each on separate servers) -- same problem here.

 I went in WP-Admin using incognito mode (to ensure all browser extensions
 were disabled), disabled all WordPress extensions, then tried again to use
 TinyMCE. Still the same problem.

 Opened Firefox, tried again to use it, works fine, interestingly.  Also
 works fine in Microsoft Edge (Microsoft's new browser for Windows 10).

 I then went to other sites via Chrome and tried using TinyMCE (outside of
 WordPress), TinyMCE works fine like a charm. So it's only within WordPress
 that it breaks.

 Regressed WordPress's copy of TinyMCE to the WP 4.4.1 version, as I recall
 it was working fine on that version. It still didn't work, same error. So
 now I'm starting to think it was Chrome that updated and broke whatever
 WordPress TinyMCE needed to rely on to be able to work. Since it works
 fine on Firefox, I'm guessing it's a browser issue.

 My working theory: something changed in Chrome or WordPress (or even both)
 that broke both abilities to work together.  Of course, I'm no programming
 guru, so I'll leave the theories to you gurus.

 I also filed a bug report with the Google Chrome team via 'Help->Report
 Issue', they however did not provide a link to the bug report so I'm
 unable to post it here.

 For now, I'll just use Firefox to use WordPress Admin and Chrome for
 everything else.

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


More information about the wp-trac mailing list