-
Notifications
You must be signed in to change notification settings - Fork 4.8k
"core/list-item" section style not applied consistently using json-partial #71601
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonNeeds TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Status] StaleGives the original author opportunity to update before closing. Can be reopened as needed.Gives the original author opportunity to update before closing. Can be reopened as needed.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonNeeds TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Status] StaleGives the original author opportunity to update before closing. Can be reopened as needed.Gives the original author opportunity to update before closing. Can be reopened as needed.[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
core/list-itemblocks do not style consistantly when using section styles (JSON partial)style is loaded via theme folder 'styles/block/my-style.json'
example json
{ "$schema": "https://schemas.wp.org/trunk/theme.json", "version": 3, "slug": "imagedirect__wish-list", "title": "Wish List", "blockTypes": [ "core/list", "core/columns" ], "styles": { "color": { "text": "red" }, "blocks": { "core/list-item": { "color": { "background": "#eeeeee" }, "border": { "bottom": { "color": "black", "style": "dashed", "width": "1px" } } } } } }Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
WordPress - Version 6.8.2
Gutenberg - not activated or Version 21.6.0
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.