WordPress.org

Make WordPress Core

Opened 21 months ago

#38055 new defect (bug)

<a href> tags disappear when switching from "Text" view to "Visual" view of Page Editor

Reported by: chrisrelish Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.6.1
Component: Editor Keywords:
Focuses: Cc:

Description

When editing a page, I make a clickable <div> surrounded by a <a href> tag. When someone else then edits the page but edits using the Visual tab, the links I had previously entered disappear. When I put the <a href> tags back in and update the page, just switching between the Visual and Text tabs in quick succession removes any and all <a href> tags from the code.

I have tried disabling wpautop with no effect.

Is there a solution to this, or will I have to replace all the <a href> tags every time someone else edits the page?

Change History (0)

Note: See TracTickets for help on using tickets.