Make WordPress Core

Opened 3 years ago

Last modified 17 months ago

#41033 new defect (bug)

Cannot Change the Text Color of Links in the WordPress 4.8 Visual Editor

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


I'm able to verify the issue reported in the following support thread using Firefox 54 on my Macbook Pro.


In short, you can not change the color of text in the WordPress 4.8 visual editor if it is turned into a URL first. However, if you change the color of text before it's turned into a link, it remains that color. This seems like a bug.

Change History (2)

This ticket was mentioned in Slack in #forums by zoonini. View the logs.

3 years ago

#2 @GalenGidman
3 years ago

I can confirm this is an issue, not just in Firefox. Seems like (depending on how you select the link) it's just adding a span either around or within the anchor tag and adding the style color attribute to that, instead of adding the style attribute to the link itself. This causes an issue if the link is using the text-decoration CSS property.

Note: See TracTickets for help on using tickets.