-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
When using copy-pasted patterns, some situations doesn't prompts "Upload external images" #60323
Comments
Adding this to the Polish board as this feels like a rough edge that would go a long way to figure out. |
I write most of my content in Google Docs and then copy/paste into Gutenberg. Images pasted from Docs always had Upload External Image on the image block toolbar in the past; now they do not. It's VERY frustrating and a major obstacle to content creation. |
@janetwdawson what version of WordPress are you using? Curious to learn more. If possible, please open a new issue too with more information about your environment, ensuring you can replicate without any other plugins activate. |
First observed on my live site which is running WordPress 6.5.3 with the
BuddyBoss Child theme. I can't turn off all the plugins on live (or the
main staging where others are working), so I tested this a staging that's
running WP 6.4.3 (still the BB Child theme).
With all plugins deactivated...
[image: image.png]
... the issue is still happening.
No Upload External Image button on the block toolbar:
[image: image.png]
Should I really add a new ticket for the same issue? I'm new here and still
learning the ropes, but I didn't think multiple tickets for the same issue
was desirable. When reporting a different issue, I had to pinky swear that
I'd searched for the topic and wasn't duplicating an existing thread. ;)
…On Tue, Jun 18, 2024 at 5:05 PM annezazu ***@***.***> wrote:
@janetwdawson <https://github.com/janetwdawson> what version of WordPress
are you using? Curious to learn more. If possible, please open a new issue
too with more information about your environment, ensuring you can
replicate without any other plugins activate.
—
Reply to this email directly, view it on GitHub
<#60323 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7G3OVEXAEJHXV34E6ED65TZICHHLAVCNFSM6AAAAABFPYDQF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWHA3TGNZUGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Find me online at the Handweaving Academy! https://handweavingacademy.com
The Bobbin Tree on Facebook: http://www.thebobbintree.com
The Bobbin Tree webstore: http://thebobbintree.square.site
|
The reason I asked for a new issue is because you are copying and pasting from Google docs whereas this issue is about using copy/pasted patterns :) That's a bit of a different situation, even if it feels the same. I tried testing using 6.5.4 with a playground instance (ignore the mention of 6.5.3 as I had it wrong) and couldn't replicate: copy.paste.from.gdocs.movI also can't see the images you have attached. To be safe, I also tested with 6.6 beta 3 (the current release in progress) and couldn't replicate either. |
@annezazu I think it meant the same issue as mine; |
@WordPress/outreach can anyone replicate this reliably? Wanting to follow up here to get more info and ideally get this fixed. Going to do more testing today. |
Cannot replicate with 6.5.4 nor with 6.6 RC2 via copying & pasting from a Google doc: Trying.to.replicate.media.issue.movFrom there, I tried to replicate by copying and pasting the pattern mentioned in the original issue and can do so with 6.6 RC2 & 6.5 as noted in the original issue: replicate.with.patterns.movThis is part of why I'd like the issues separated out as they seem to be distinct problems but let's roll with it for now :) @ryelle any clue what might be different about the pattern here? |
Testing with more patterns: Digging into this more, I went back to the original pattern and looked at the code editor. Notice how the two other images without the upload option use this domain: https://demo.wpzoom.com/foodica-patterns/wp-content/plugins/block-patterns-for-food-bloggers/patterns/images/pexels-andrea-piacquadio-3771106.jpg vs the last image with https://s.w.org/images/core/5.8/portrait.jpg.
|
So, I think this pattern was created outside of the pattern directory and pasted in— first, But I bet the real problem is that the image without the upload button has an This will happen if users paste patterns into the pattern creator (and is why we ask folks not to do that, in addition to copyright issues). But they still do so perhaps the pattern directory can omit |
Great sleuthing, thank you! Let's try that. I'm also curious about how we can warn or block people from submissions of external images but I'm sure that's complex to accomplish. |
I've added an issue for it here: WordPress/pattern-directory#698
Yeah, that was a concern from the start (WordPress/pattern-directory#494), I thought moderation would help but it's hard for a human to tell when there are a number of verified openverse sources. That said, the |
I think we can close this out considering the right issues have been opened in the pattern directory to resolve this more at the root. Going to close but happy to reopen if I'm getting this wrong. |
If I understand correctly this isn't related just to wp.org patterns. Maybe in core there should be a way to remove the id once a pattern is copy-pasted and trigger the upload external images button. |
Some situations don't prompt "Upload external images" after copy-paste a pattern in the block editor:
Repro:
I have tested and after changing the URL of the media, the prompt does appear. Seems to be a CORS issue.
What problem does this address?
UX.
What is your proposed solution?
When copy pasting patterns from external sites, every linked external image from any blocks should prompt the "Upload external images" check.
The text was updated successfully, but these errors were encountered: