Changes between Initial Version and Version 1 of Ticket #58539, comment 1
- Timestamp:
- 06/14/2023 09:17:09 PM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58539, comment 1
initial v1 1 The Image block's captions have been aligned left on the front end since the block editor was made public (r43800). The discrepancy began in WordPress 5.8 when the block class list started with "wp-block-" `block-editor-block-list__block` before `wp-block-image`, which made the [https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css?rev=55913#L463 editor styles' selector] meaningless.1 The Image block's captions have been aligned left on the front end since the block editor was made public (r43800). The discrepancy began in WordPress 5.8 when the block class list started with `block-editor-block-list__block` before `wp-block-image`, which made the [https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css?rev=55913#L463 editor styles' selector] meaningless (at least for this block). 2 2 3 3 One way to fix it in the editor is adding a selector that does not require a certain order: