Make WordPress Core

Opened 8 years ago

Last modified 6 years ago

#26986 closed defect (bug)

Editor Deletes Empty Spans — at Version 1

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

Description (last modified by ocean90)

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 (1)

#1 @ocean90
8 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.