[wp-trac] [WordPress Trac] #61661: WordPress 6.6 display all links as underlined

WordPress Trac noreply at wordpress.org
Wed Jul 17 17:11:52 UTC 2024


#61661: WordPress 6.6 display all links as underlined
--------------------------+------------------------
 Reporter:  simonbelley   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  6.6
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:  ui, css
--------------------------+------------------------

Comment (by jmccallweb):

 Replying to [comment:1 butterflymedia]:
 > I have already opened a ticket on the block editor on GitHub, and they
 said there is a hotfix for 6.6.1. Here is the link -
 https://github.com/WordPress/gutenberg/issues/63345
 >
 > Still, there is a bunch of `:root` and `:where` styles overriding
 everything. Another example would be all centred images are now left
 aligned.
 >
 > Regarding the underline, their reply was that this is common behaviour
 for browsers to underline links…
 >
 > Here is the selector being added by the core:
 >
 > {{{
 > :root :where(a:where(:not(.wp-element-button))) {
 >     text-decoration: underline;
 > }
 > }}}
 >

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61661#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list