CoreImage give wrong caption when lightbox is enable
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
No source file or test is named. Reproduce the issue with a Gutenberg Image block, a caption, and lightbox enabled, then run the shown GraphQL query and trace the CoreImage attributes response. Done means the caption appears once rather than three times while the lightbox attribute remains available.
Written by the indexing model from the issue text.
Description
When I add caption on Image, if "lightbox" checkbox is checked, graphql show me the caption three times.
Step to reproduce:
- Add a block "image" on your gutenberg and add a caption
- Duplicate it and enable "lightbox on click" checkbox
- Make the following graphql request :
{
page(id: "your-page-slug", idType: URI) {
editorBlocks(flat: false) {
... on CoreImage {
attributes {
caption
lightbox
}
}
}
}
}
Version:
- wp-graphql-content-blocks: 2.0.0
- Faust.js: 1.2.1
- WPGraphQL: 1.20.0
- Dominant language
- PHP
- Stars
- 149
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wpengine/wp-graphql-content-blocks
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
wpengine/wp-graphql-content-blocks#457 · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
effort: high impact: high scope: performance
Difficulty 5/5 Over a week Newbie friendliness 25/100
wpengine/wp-graphql-content-blocks#385 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
wpengine/wp-graphql-content-blocks#376 · 1 reaction ·
All issues in wpengine/wp-graphql-content-blocks
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100