Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37690, comment 9


Ignore:
Timestamp:
08/19/2016 09:39:02 PM (8 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37690, comment 9

    initial v1  
    55I tested with a larger posts too. Unfortunately it is still very slow with posts that have more than 5,000 words. At that point the textarea is starting to get slower anyways, but holding down Backspace makes the browser "freeze" for few seconds.
    66
    7 In 37690.1.patch attempting to speed this up by using Underscore's `throttle()`. Seems to make it quite faster but has a small trade-off: when deleting empty rows by holding the Backspace button, it doesn't shrink the textarea height fast enough.
     7In 37690.1.patch attempting to speed this up by using Underscore's `throttle()`. Seems to make it quite faster but has a small trade-off: when deleting empty rows by holding down Backspace, it doesn't reduce the textarea height fast enough. Then it "catches up" at the end.
    88
    99Alternatively we can turn off the shrinking of the textarea, only resize when switching Visual => Text editor. It looks a bit odd when you delete most of the post, but that is quite rare.