Skip to content

3rd party Greenshift Image Blocks all get same SRC after multi selection attribute change facilitated by Gutenberg API #53424

Open
@porg

Description

Reproduction

  1. Select multiple Greenshift Image blocks.
  2. Inspector → Choose an attribute you want to change for all of them.
  • e.g. Image Size: Full → Medium

Expected: The attribute changes for all of them.
That happened indeed: The size version got reduced from width “full” 2560px to “medium” 300px for all images.

Undesired side effect: The images are now all the same!

WordPress.Greenshift.Image.Block.-.After.multi.block.attribute.change.all.images.point.to.same.src.mp4

Inspecting markup markup before/after inspected in revision diff viewer

  • They still have the different ALT tags.
  • They still have their unique “id” and “mediaid” in their JSON notation markup.
  • But they all point to the same file (mediaurl in JSON and src attribute of img.)
  • According to the plugin developer @wpsoul this faulty outcome is part of Gutenberg and we can’t affect it via plugin

WordPress Greenshift Image Block - After multi block attribute change all images point to same src - evident in markup

Environment

  • WordPress 6.2.2, still in 6.3
  • Gutenberg 15.9.1 (video/screenshots), still in 16.3.0
  • Greenshift 6.5.6 and its Image block
  • Note: My Media Library resides on a subdomain as supported by WordPress → Settings → Media →
    • Store uploads in this folder: /path/to/subdomain-directory/com-example-media
    • Full URL path to files: https://media.example.com
    • Maybe it plays a role in this bug. Maybe not. At least wanted to mention it.

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

No

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature does not function as intended[Type] Plugin InteroperabilityIncompatibilities between a specific plugin and the block editor. Close with workaround notes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions