[wp-trac] [WordPress Trac] #35890: TinyMCE downs with the given piece of html text
WordPress Trac
noreply at wordpress.org
Sat Feb 20 18:26:06 UTC 2016
#35890: TinyMCE downs with the given piece of html text
--------------------------+--------------------
Reporter: Elvin.Haci | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: TinyMCE | Version: 4.4.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Changes (by azaozz):
* component: Editor => TinyMCE
* milestone: Awaiting Review => 4.5
Comment:
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35890#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list