Closed
Description
openedon Sep 21, 2023
Description
Image Lightbox (expand on click) in Gutenberg 16.7.0 RC1 works as expected with Theme Twenty Twenty-Two
After changing to classic Theme Twenty Sixteen (or GeneratePress) an error occurs:
Warning: Array to string conversion in ...\wp-includes\formatting.php on line 1104
Visual bug:
- Image looks regular
- on mouseover: image disappears and is replaced with a monochrome coloured area of same size
- click on image opens lightbox as expected
- click again closes lightbox as expected
- image was again replaced with coloured area (even without mouseover!)
- clicking elsewhere make image reappear like regular
Step-by-step reproduction instructions
- Install Gutenberg 16.7.0 RC1
- change to theme Twenty Sixteen
- add page/post
- add image
- activate "expand on click"
- view page
- try lightbox-efect
Screenshots, screen recording, code snippet
No response
Environment info
WP 6.3.1
Gutenberg 16.7.0 RC1
Themes: Twenty Sixteen, GeneratePress
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment