You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Block Library: Caption component is rendered when multiple blocks are selected #57369
A common Caption component is currently used to render the caption in the following blocks:
Image
Audio
Gallery
Video
The Caption control also appears on the block toolbar when multiple blocks are selected. This is unexpected behavior, and nothing happens when you click, and you may inadvertently delete caption text.
Step-by-step reproduction instructions
Note: As for the Image block, it will be solved by #57357.
Insert multiple blocks of Gallery, Video, or Image.
Select those blocks.
A caption button should now appear on the block toolbar.
Screenshots, screen recording, code snippet
e839a2895221d497fcabf7326cdc5820.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Activity
Mamaduka commentedon Dec 26, 2023
@t-hamano, I will tentatively assign this to myself and try to push PR later today.
t-hamano commentedon Dec 27, 2023
I would like to close this issue as it has been fixed in all blocks.