-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
Description
I have two URLs in the editor, URL A and URL B. When editing the text for URL B and clicking "ENTER" to commit the change, the change is applied to URL A instead.
I would expect the change to be applied to URL B.
Step-by-step reproduction instructions
- Start a new post and switch to the code editor
- Paste the following into the code editor
<!-- wp:list {"ordered":true} -->
<ol><li>(<a href="http://www.google.com" data-type="URL" data-id="http://www.google.com">example demo</a>)</li><li>(<a href="http://www.wordpress.org" data-type="URL" data-id="http://www.wordpress.org">example</a> demo)</li></ol>
<!-- /wp:list -->
- Exit the code editor
Expect to see:
- Click the "example" link on list item 2
- Click the pencil icon to edit it
- Update the text from "example" to "example demo"
- Click "Press ENTER to add this link"
Observe that list item 1's text has been edited and item 1 now reads "example demo demo".
Screenshots, screen recording, code snippet
Screen.Recording.2022-05-05.at.13.18.29.mov
Environment info
-
WordPress 5.9.3
-
Gutenberg 11.9
-
Theme: Twenty Twenty-One
-
Browsers: Chrome 100.0.4896 ARM, Safari 15.4
-
Desktop with macOS
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
No labels

