-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 (#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 <yogeshbhutkar@git.wordpress.org> Co-authored-by: stokesman <presstoke@git.wordpress.org>
- 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
bf32d27
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in bf32d27.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/13016907897
📝 Reported issues:
/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js