[wp-trac] [WordPress Trac] #42531: Text is splitted into two paragraphs when switching editor tabs
WordPress Trac
noreply at wordpress.org
Tue Nov 14 05:11:53 UTC 2017
#42531: Text is splitted into two paragraphs when switching editor tabs
-------------------------------------+----------------------------
Reporter: ocean90 | Owner: peterwilsoncc
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.9
Component: Editor | Version: 4.9
Severity: major | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+----------------------------
Changes (by dd32):
* keywords: has-patch => has-patch needs-testing
Comment:
It looks like the code in [attachment:42531.2.diff] is really only an
optimisation, to skip processing text when not needed (as TinyMCE will
wrap it in a paragraph tag anyway).
Removing that shouldn't cause any issues from what I can see, +1 from me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42531#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list