Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoom Out: image block allows dropping files when dragging patterns #67200

Closed
2 of 6 tasks
jartes opened this issue Nov 21, 2024 · 1 comment
Closed
2 of 6 tasks

Zoom Out: image block allows dropping files when dragging patterns #67200

jartes opened this issue Nov 21, 2024 · 1 comment
Labels
[Type] Bug An existing feature does not function as intended

Comments

@jartes
Copy link

jartes commented Nov 21, 2024

Description

Image blocks display the "Drop files to upload" message when we try to drop patterns over the block. Also, if we are dropping a pattern that has an image, the image block image is replaced by the image that is on the pattern.

Zoom Out should not allow editing content at block level, and in this case, the Zoomed Out version is allowing the Image Block to be replaced.

Step-by-step reproduction instructions

  1. Edit or create any post/page.
  2. Add an Image Block (this can be also a Media & Text block).
  3. Go to the patterns inserter and try to drag any pattern to the image block.
  4. See that the Image Block is displaying the "Drop files to upload" message.

Screenshots, screen recording, code snippet

(will add screen recording later as it's failing)

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.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@jartes jartes added the [Type] Bug An existing feature does not function as intended label Nov 21, 2024
@jartes
Copy link
Author

jartes commented Nov 21, 2024

Closing as this is already fixed by #66986

@jartes jartes closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant