Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41129 closed defect (bug) (duplicate)

Editor remove html code and css class added in Text mode

Reported by: rinkuyadav999's profile rinkuyadav999 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8
Component: Editor Keywords:
Focuses: Cc:


When i add below code in Text mode and switch to Visual mode, Editor remove span and class.

Some <span class="fa fa-fa"></span> <a href="#">Cool</a> rights.

To reproduce:
Create a new post
Switch to Text mode
Copy past above code
Switch to Visual
Switch to Text

There will be not

<span class="fa fa-fa"></span>

Change History (1)

#1 @melchoyce
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @rinkuyadav999! Thanks for the report. Please see #40951 for more details on this issue.

Note: See TracTickets for help on using tickets.