[wp-trac] [WordPress Trac] #16388: Unresponsive script when switching from Visual to HTML Editor with long posts and lots of HTML

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 27 14:54:54 UTC 2011


#16388: Unresponsive script when switching from Visual to HTML Editor with long
posts and lots of HTML
--------------------------+-----------------------------
 Reporter:  yoavf         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Editor        |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Description changed by yoavf:

Old description:

> When editing long posts with a fair amount of (nested) HTML tags, browser
> will issue an unresponsive script error when switching from Visual to
> HTML editors.
>
> Attached are two very long posts, similar except testcase-
> unresponsive.txt has about 2500 extra
> {{{
> <p><br class="spacer_" /></p>
> }}}
>
> I haven't encountered any problems with testcase-ok.txt.
>
> Hoping there's something that can be optimized here.

New description:

 When editing long posts with a fair amount of (nested) HTML tags, browser
 will issue an unresponsive script error when switching from Visual to HTML
 editor.

 Attached are two very long posts, similar except testcase-unresponsive.txt
 has about 2500 extra
 {{{
 <p><br class="spacer_" /></p>
 }}}

 I haven't encountered any problems with testcase-ok.txt.

 Hoping there's something that can be optimized here.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16388#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list