[wp-trac] [WordPress Trac] #32197: Twemoji script and editor expansion combo making editor ridiculously slow in some circumstances
WordPress Trac
noreply at wordpress.org
Thu Apr 30 01:05:21 UTC 2015
#32197: Twemoji script and editor expansion combo making editor ridiculously slow
in some circumstances
--------------------------+------------------
Reporter: Otto42 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: TinyMCE | Version: 4.1
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------
Comment (by azaozz):
@Otto42 right, a straightforward fix would be to add an "exclude" class to
that div and then check for it when before calling `test()` or `parse()`
from the mutation observer. A better fix would be if we can find a better
way to resize the textarea :)
@rowd1951 also suspecting this depends on the Twemoji's test regex. It is
very long: https://github.com/twitter/twemoji/blob/gh-
pages/twemoji.js#L236
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32197#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list