#16388 closed defect (bug) (invalid)
Unresponsive script when switching from Visual to HTML Editor with long posts and lots of HTML
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by yoavf)
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.
Attachments (1)
Change History (6)
comment:3
azaozz
— 2 years ago
- Resolution set to invalid
- Status changed from new to closed
The <br class="spacer_" /> placeholder actually comes from the TinyMCE Advanced plugin and can be disabled there. Also it's not used any more in the updated version that is compatible with 3.1 (currently in beta).
Closing as it seems to be plugin issue.
FYI, the script error doesn't happen with earlier version of WP (WPMU 2.6.5). This tells me that tinymce/wp added some extra regex's (or something).