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

Creator: When replacing an image, the upload option is available #715

Open
ryelle opened this issue Dec 11, 2024 · 0 comments
Open

Creator: When replacing an image, the upload option is available #715

ryelle opened this issue Dec 11, 2024 · 0 comments
Labels
[Component] Pattern Creator Anything related to the pattern front end editor or preview

Comments

@ryelle
Copy link
Contributor

ryelle commented Dec 11, 2024

Describe the bug
Users do not have permissions to upload media but when replacing an image, the option to upload is there. Trying to upload anything will return an error, which can be confusing since the option is there.

To Reproduce
Steps to reproduce the behavior:

  1. Add or edit a pattern
  2. Insert an image block (or media & text, etc), pick an image from the Openverse library
  3. Click on "Replace"
  4. You see the option to upload, or edit the image URL

Expected behavior

"Media library" and "Reset" should be the only available options. Ideally the image URL is not editable as well, to prevent users from inserting potentially non-CC0 images (see #494).

Screenshots

Image
@ryelle ryelle added the [Component] Pattern Creator Anything related to the pattern front end editor or preview label Dec 11, 2024
@ryelle ryelle moved this to ⚠ On Hold/Blocked in WordPress.org Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Pattern Creator Anything related to the pattern front end editor or preview
Projects
Status: On Hold/Blocked
Development

No branches or pull requests

1 participant