[wp-trac] [WordPress Trac] #44308: TinyMCE: empty paragraphs are created from HTML comments on separate lines
WordPress Trac
noreply at wordpress.org
Tue Jun 5 17:12:04 UTC 2018
#44308: TinyMCE: empty paragraphs are created from HTML comments on separate lines
--------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by azaozz):
In 44308.patch:
- Remove any white space between two or more HTML comments when `wpautop`
is not used. Fixes a bug where TinyMCE may insert empty paragraph tags.
- When saving, add back the two line breaks between HTML comments if they
are Gutenberg block markers.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44308#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list