-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Updating a copied "Pay with PayPal" block works like reusable blocks (affecting other references of the same block) #58446
Comments
Also posted here: pNPgK-5B3-p2 cc @inaikem |
I couldn't reproduce this myself (in general I found the content of the block didn't duplicate at all sometimes, but when it did -- maybe only after an autosave? -- it seemed to be two separate blocks, and editing the first block and saving didn't have any effect on the other). I'm ccing @Automattic/view-engineering though, which I think still maintains these blocks. |
👋 There's a jetpack issue tracking this: Automattic/jetpack#12801 The issue is that when you duplicate or copy a Pay With PayPal block, all of its attributes including the To fix this we need a change in Gutenberg to allow for preventing certain attributes from being copied on block duplication. I created an issue in Gutenberg and opened a PR for it here to do just that, which still needs community review. |
Marking as Triaged since it's already on Shilling's radar. |
Another report here: 4695735-zen |
Another report in 4758262-zen / 4749729-zen |
Another report in 5240302-zen |
Another report here: 35950266-hc |
Another report here: 36442397-hc |
This issue popped up again in 5735863-zen |
Another report in 22776651-hc |
Another report in 5788907-zen |
41694914-hc |
#6286760-zen Perhaps the Duplicate and Copy block features should be disabled for Pay with PayPal? |
I was able to replicate the issue. Creating multiple blocks individually instead of duplicating is a valid workaround. #9020583-zen |
Quick summary
I can't figure a good title here, but I hope the summary explains the issue: editing a copy of the "Pay with PayPal" block makes the update to all previous copies of the same "Pay with PayPal" block. Editing a new "Pay with PayPal" block does not affect the others though.
Steps to reproduce
What you expected to happen
Editing a copied "Pay with PayPal" affects only that block, not the previous references of the same block.
What actually happened
All references are updated.
Context
Customer bug report: 4540958-zen.
Operating System
macOS
Browser
Mozilla Firefox
Simple, Atomic or both?
Simple, Atomic
Theme-specific issue?
No.
Other notes
No response
Reproducibility
Consistent
Severity
All
Available workarounds?
No but the platform is still usable
Workaround details
Workaround is to create the new "Pay with PayPal" block instead of duplicating an existing one.
The text was updated successfully, but these errors were encountered: