[wp-trac] [WordPress Trac] #31255: Remove space from empty paragraphs
WordPress Trac
noreply at wordpress.org
Tue Mar 24 18:01:01 UTC 2015
#31255: Remove space from empty paragraphs
--------------------------+---------------------
Reporter: iseulde | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: TinyMCE | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by azaozz):
* status: reviewing => closed
* resolution: => fixed
Comment:
Replying to [comment:10 iseulde]:
Hmm, I think that happens sometimes on a "plain" contenteditable div too,
seen in Chrome. Depends on the differences in styles between the place the
text is copied from and the contenteditable. Chrome certainly converts
`<b>` to <span style="font-weight: bold;">` in some cases, think it can
convert it the other way round too.
Testing a bit more, this seems prevented in TinyMCE as the pasted HTML is
cleaned before inserting it in the editor.
In any case, can close as fixed with the update to the latest TinyMCE
version, [31700].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31255#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list