[wp-trac] [WordPress Trac] #59922: Twenty Nineteen is using CSS selectors that are no longer used in the editor

WordPress Trac noreply at wordpress.org
Fri Nov 17 15:09:32 UTC 2023


#59922: Twenty Nineteen is using CSS selectors that are no longer used in the
editor
---------------------------+---------------------
 Reporter:  poena          |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  6.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  css
---------------------------+---------------------

Comment (by poena):

 I have submitted a patch, any suggestions for improvements to the
 selectors are of course welcome.


 == Testing instructions
 To test that the patch solves the color issues in the block editor,
 add the following blocks:

 A paragraph with a link. Expected result: -The link color should be blue
 when the customizer option is not used, and the custom color when the
 option is used.
 On hover, there should only be a small color change.

 A paragraph with a link and a text color. Expected result: -The link color
 should always be the color selected in the color setting in the block
 sidebar, not the color from the option in the Customizer.

 Two button blocks: One default (fill) and one with the outline style.
 Expected result: The background and outline color should be blue when the
 customizer option is not used, and the custom color when the option is
 used.
 Changing the button color in the blocks settings sidebar should override
 this color.

 A file block. Expected result: The link and the button should be blue when
 the customizer option is not used, and the custom color when the option is
 used.
 The color from the customizer option should be used even if the background
 color in the block settings sidebar is changed.

 A quote block ''that does not use the large style''. Note that the large
 style has been removed from the editor, but sites can still have blocks
 with this style enabled.
 The border should be blue when the customizer option is not used, and the
 custom color when the option is used.


 A pull quote block with a text that has a link.
 Add the class name {{{is-style-solid-color}}} to the block in the Advanced
 panel > Additional CSS class names.
 The background color should be blue when the customizer option is not
 used, and the custom color when the option is used.
 The link color should not be the custom color.

 A cover block with a link. The link color should not be the custom color.

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


More information about the wp-trac mailing list