Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#56255 closed defect (bug) (duplicate)

Theme Twenty Twenty: <a> tag color not reflected in editor

Reported by: umesh84's profile umesh84 Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: Bundled Theme Keywords: has-patch
Focuses: css Cc:

Description

When I use the < a> tag, the text colour is not reflected in the editor.

1: Activate the Twenty Twenty Theme
2: add text
3: select text and add <a> tag
3: Select color

Attaching a video link for better understanding.
https://www.loom.com/share/62cb7fb64beb4931a042d4a2be60ae52

Attachments (1)

#56255.patch (492 bytes) - added by umesh84 2 years ago.
added patch

Download all attachments as: .zip

Change History (4)

@umesh84
2 years ago

added patch

#1 @umesh84
2 years ago

  • Keywords has-patch added; needs-patch removed

#2 @audrasjb
2 years ago

Hello and thank you for the ticket/patch.
I think you should probably prefix your CSS rule with the .editor-styles-wrapper selector.

#3 @sabernhardt
2 years ago

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

Thanks! I just noticed this last week and opened #56214.

Also, the front-end styles use inherit instead of currentColor.

Note: See TracTickets for help on using tickets.