Changes between Initial Version and Version 1 of Ticket #59922, comment 13
- Timestamp:
- 02/16/2024 05:48:23 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59922, comment 13
initial v1 14 14 # File block 15 15 Before 5.8, the file block link is not a link element, so the general link styles are not applied. 16 The class name for the link was .wp-block-file__textlink, and it was removed in 5.8. 17 The color is decided by .editor-styles-wrapper .wp-block .wp-block-file .wp-block-file__textlink 16 The class name for the link was {{{.wp-block-file__textlink}}}, and it was removed in 5.8. 17 The color is decided by 18 {{{.editor-styles-wrapper .wp-block .wp-block-file .wp-block-file__textlink}}} 19 18 20 The :hover, which does not have a space, isn't working and should be updated. 21 22 {{{ 19 23 .editor-styles-wrapper .wp-block.wp-block-file .wp-block-file__textlink:hover 24 }}} 25 20 26 should have been: 27 28 {{{ 21 29 .editor-styles-wrapper .wp-block .wp-block-file .wp-block-file__textlink:hover 30 }}} 31 22 32 23 33 The file block button background color is not working, because 34 {{{ 24 35 .editor-styles-wrapper .wp-block.wp-block-file .wp-block-file__button 36 }}} 25 37 needs to be duplicated and a space added: 38 {{{ 26 39 .editor-styles-wrapper .wp-block .wp-block-file .wp-block-file__button 40 }}} 41 27 42 28 43 In later versions: 29 44 - The file block link color is decided by the general link colors. 30 45 - The file block button background color is decided by 46 47 {{{ 31 48 .editor-styles-wrapper .wp-block.wp-block-file .wp-block-file__button 49 }}} 50 32 51 - The wp-block and wp-block-file classes are on the same element. 33 52