-
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.
Keep Link UI open upon initial link creation when used in RichText (#…
…57726) * Don’t clear activeFormats on submit * Expose API to allow triggering the anchor to be recomputed * Correctly position Popover on link creation and avoid focus shifts due to forced remounts. * Add privateApis to RichText package and export useAnchorWithUpdate hook * Consume new private API in Link UI * Fix docs * Revert "Add privateApis to RichText package and export useAnchorWithUpdate hook" This reverts commit cbcbf41. # Conflicts: # packages/rich-text/README.md # packages/rich-text/src/private-apis.js * Fix anchor position using standardised method * Revert all changes to useAnchor hook * Remove changing selection when commiting new links * Add more detail to comment * Fix e2e test: can be created and modified using only the keyboard * Test e2e fix: can update the url of an existing link * Fix e2e test: toggle state of advanced link settings is preserved across editing links * Test e2e fix createAndReselectLink util * Fix e2e test: should not show the Link UI when selection extends beyond link boundary * e2e test fix: should not show the Link UI when selection extends into another link --------- Co-authored-by: Jerry Jones <[email protected]>
- Loading branch information
Showing
2 changed files
with
48 additions
and
38 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
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
3318717
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 3318717.
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/7638269545
📝 Reported issues:
/test/e2e/specs/editor/blocks/paragraph.spec.js