-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
BugFix: Prevent insertion of link of collapsed selection #5346
BugFix: Prevent insertion of link of collapsed selection #5346
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@acywatson wanted your comments on the following behaviour, is this expected? Current Behaviour
Shouldn't on clicking insert link button, it should be showing the edit view where user directly inserts the link and saves?Rather than having to clink on edit button to insert the link. Attached the video for reference Screen.Recording.2023-12-07.at.3.15.53.AM.mov |
Yes - the way it currently works is the most annoying thing in the entire playground app to me. You are welcome to change it in a different PR. |
…ction_on_link_insertion
Leaving to @acywatson on how to proceed with this one. |
Looks like we have a failing test to fix. Make sure it's not causing a regression. |
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.
See comment re: test
…ction_on_link_insertion
…ction_on_link_insertion
@acywatson a bit late but have fixed the UT 😅 |
This introduces an issue where if try to remove an existing link when my collapsed selection is in inside the link, it blocks the toggling off of the link. |
@ivailop7 thanks for pointing out, will fix it |
@ivailop7 Have fixed the delete link issue. |
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.
This seems like a good change, but I don't think it passes the current e2e test suite (probably because the tests should be updated accordingly). @acywatson might be worth removing the request changes flag so that when/if the fixes go in here we can merge it without waiting for that flag to clear
Closing this PR due to staleness! If there are new updates, please reopen the PR. |
fix: #5305