Make WordPress Core

Opened 8 years ago

Last modified 6 years ago

#26986 closed defect (bug)

Editor Deletes Empty Spans — at Initial Version

Reported by: GeJay Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8
Component: TinyMCE Keywords:
Focuses: Cc:

Description

Based on ticket 22477, it sounded like this was fixed but apparently not. My spans have a class and when empty (used for font based icons), they are being stripped out when going from text to visual mode with the editor. I'm using WordPress 3.8.1. So it appears this was not fixed. An example span icon container:

<span class="icon-user"></span>

Change History (0)

Note: See TracTickets for help on using tickets.