[wp-trac] [WordPress Trac] #26986: Editor Deletes Empty Spans
WordPress Trac
noreply at wordpress.org
Wed Feb 5 03:05:53 UTC 2014
#26986: Editor Deletes Empty Spans
--------------------------+------------------
Reporter: GeJay | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: TinyMCE | Version: 3.8
Severity: normal | Resolution:
Keywords: close | Focuses:
--------------------------+------------------
Changes (by azaozz):
* keywords: => close
Comment:
> Therefore, one way to work around this would be to not use <span> tags,
but <i> tags (which by the way is what most CSS libraries use for font
icons)
Agreed. In addition it's not a good idea to stop removing empty spans.
WebKit and particularly Chrome has the "bad habit" to insert lots of spans
with inline styles for no good reason, see #26975. Some of them are empty.
Most are caught and cleaned by TinyMCE, but some make it through.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26986#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list