forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spacer Block: Fix broken editing history due to effect (WordPress#68869)
* `Spacer`: Fix changes being marked as persistent to `undo` * Spacer: Remove unnecessary line breaks in edit.js * `Spacer`: Simplify the usage of `__unstableMarkNextChangeAsNotPersistent` * Refactor: Add comments to clarify the purpose of `__unstableMarkNextChangeAsNotPersistent` * `Spacer`: Ensure changes are marked as not persistent in multiple conditions * Spacer: Refactor `setAttributes` calls to avoid persistent changes during undo/redo operations Co-authored-by: yogeshbhutkar <[email protected]> Co-authored-by: stokesman <[email protected]>
- Loading branch information
1 parent
183f671
commit bf32d27
Showing
1 changed file
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters