Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing link in list incorrectly targets first word #40348

Closed
ashfame opened this issue Apr 14, 2022 · 0 comments · Fixed by #42711
Closed

Editing link in list incorrectly targets first word #40348

ashfame opened this issue Apr 14, 2022 · 0 comments · Fixed by #42711
Labels
[Block] List Affects the List Block [Type] Bug An existing feature does not function as intended

Comments

@ashfame
Copy link
Member

ashfame commented Apr 14, 2022

Description

Editing a link targets the wrong word

Step-by-step reproduction instructions

Have a list like following (both words should match):

Now if you click on second list item and choose to edit the link. Change the name and hit enter. First match for word Diff is first list item, which becomes a link with the text you just modified and second list item which you were modifying remains unchanged.

Screenshots, screen recording, code snippet

Screen.Recording.2022-04-14.at.2.41.59.PM.mov

Environment info

No response

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

@amustaque97 amustaque97 added Needs Testing Needs further testing to be confirmed. [Block] List Affects the List Block [Type] Bug An existing feature does not function as intended and removed Needs Testing Needs further testing to be confirmed. labels Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants