#35890 closed defect (bug) (fixed)
TinyMCE downs with the given piece of html text
Reported by: | Elvin.Haci | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | 4.4.2 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
Hello. I have a small piece of text which causes TinyMce stopping (entire editor page becomes unaavailable)
Just paste the attached text to TEXT tab of wp editor, then try to switch Visual tab. The page will become unavailable.
I have tested this bug with 3 websites and 2 browsers - the problem is common, not specific.
Attachments (1)
Change History (5)
#1
@
9 years ago
p.s. i have also found the main reason of the problem.
Long empty spaces before "3GPP Long Term Evolution" string in text causes the problem. If remove it, it will work.
#2
@
9 years ago
- Component changed from Editor to TinyMCE
- Milestone changed from Awaiting Review to 4.5
Confirmed. Happens only when wpautop is disabled and there are many U+00A0 (UTF-8 for
) between the opening <p> tag and an inline tag like the <strong> in the example. This will hang it:
<p> <strong>Lorem ipsum dolor sit amet consectetuer at Nullam velit Aenean In.</strong></p>
Caused by the regexp for removing the space chars from empty paragraphs in the "wordpress" plugin: https://core.trac.wordpress.org/browser/tags/4.4.2/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js#L119.
Fix coming up.
#3
@
9 years ago
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
In 36597:
paste the html text to TEXT tab of wp editor of wp-admin