You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a self-hosted site using the Jetpack plugin, once a Payment Buttons block is added to a post or page it isn't possible to remove it with the undo button. With most other blocks, after adding the block and making none or a few changes, clicking the undo button will undo any changes and then remove the block (as a demo you can try with the Business Hours block).
To reproduce:
Create a new post or edit a template in the Site editor
Add the Payment Buttons block
Click undo
Verify the block is not removed
Demo:
Screen.Recording.2024-05-02.at.16.25.37.mov
Likely next steps
The issue is most likely due to attributes that are being set on first mount, likely within a useEffect. This was the case for the Contact Form Block - #36485 - and Donations Block - #37185
The text was updated successfully, but these errors were encountered:
coder-karen
changed the title
Payment Buttons: Undo button will not remove the block
Payment Buttons Block: Undo button will not remove the block
May 2, 2024
What is the issue
On a self-hosted site using the Jetpack plugin, once a Payment Buttons block is added to a post or page it isn't possible to remove it with the undo button. With most other blocks, after adding the block and making none or a few changes, clicking the undo button will undo any changes and then remove the block (as a demo you can try with the Business Hours block).
To reproduce:
Demo:
Screen.Recording.2024-05-02.at.16.25.37.mov
Likely next steps
The issue is most likely due to attributes that are being set on first mount, likely within a
useEffect
. This was the case for the Contact Form Block - #36485 - and Donations Block - #37185The text was updated successfully, but these errors were encountered: