[wp-trac] [WordPress Trac] #33617: Visual Editor freezing when I add multiple HTML tables to the post

WordPress Trac noreply at wordpress.org
Sun Aug 30 21:32:44 UTC 2015

#33617: Visual Editor freezing when I add multiple HTML tables to the post
 Reporter:  dankop        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.3
 Severity:  normal        |   Keywords:
  Focuses:                |
 Ever since I updated my website to 4.3 my visual editor is freezing every
 time I try to highlight a piece of text, or even place my cursor someplace
 random. This only seems to be happening on the text contained within a
 HTML table, especially when you have multiple tables below each other.
 When I open console tab in Chrome, following error is displayed over and
 over again:

 Uncaught RangeError: Maximum call stack size exceeded --

 I tried disabling all of my addons and changing my theme. Also installed a
 fresh copy of WordPress on a sub-domain, and on a local XAMPP server.
 Happened every time, and seems to only be related to 4.3. - since
 everything works fine on a 4.2.3 website that I still haven't updated.

 To replicate this error, copy the HTML table code bellow and paste it
 couple of times in a new post - around ten or so, enough so that you can
 actually scroll the page a good amount. Then try scrolling the page in the
 Visual Editor with your mouse-wheel and while doing so try to select a
 piece of text. This without exception freezes my screen for good 4-5
 seconds. Might not happen right away, but just keep scrolling up and down,
 and click your cursor on random places withing those tables.

 <tr><td><p>Nulla ac vehicula nunc. Sed sed maximus lectus, a cursus
 ligula. Aliquam enim lacus, mollis quis vestibulum et, imperdiet et enim.
 Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
 ridiculus mus. Curabitur eget gravida est, a vehicula tortor. Curabitur
 aliquam lorem justo, vitae maximus metus porttitor vel. Aliquam neque
 mauris, posuere a mauris sit amet, ullamcorper accumsan
 velit.</p><p>Aenean vitae condimentum lacus. Vivamus sit amet velit quis
 lectus dapibus laoreet. Fusce ultricies aliquet arcu ac lacinia. Vivamus a
 erat ut erat ornare bibendum vel vitae velit. Vestibulum ut tellus quis
 magna luctus scelerisque pulvinar sit amet orci. Pellentesque habitant
 morbi tristique senectus et netus et malesuada fames ac turpis egestas. In
 malesuada ligula in ante pharetra, id euismod est tempor.</p></td></tr>

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

More information about the wp-trac mailing list