[wp-trac] [WordPress Trac] #32125: Emoji script: multiple second execution time when using AngularJS to insert text

WordPress Trac noreply at wordpress.org
Wed Apr 29 03:42:11 UTC 2015


#32125: Emoji script: multiple second execution time when using AngularJS to insert
text
--------------------------+------------------
 Reporter:  brad989       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.3
Component:  Formatting    |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by azaozz):

 In 32125.patch: test if any added nodes contain text with emoji chars
 before parsing them. That optimizes/speeds up processing of added nodes
 quite a bit. The testing regex in Twemoji is quite large but still much
 better than parsing nodes needlessly.

 @brad989, can you check if this fixes it in your case.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32125#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list