-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Improved link editor UX #4026
Improved link editor UX #4026
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Love it. Thanks!
I think these changes are okay. Removing the ability to drag and drop the Lexical Nodes by anything other than the handle seems like a sensible change, as it's causing a related issue here (#4028) when combined with the additional mouse listener introduced in #4013. I've tried to reproduce the original glitching issues from #4028 though by checking out this PR, and the old bug does not seem to be present, so I think this is fine to merge. Closes #4028 |
Summary of Changes:
LinkPreview
Because LinkPreview is not completely configured in the Playground and uses a Suspense it causes weird visual glitches as the component changes dimensions for a brief moment until deciding preview is null and it should not display anything. The setting to disable LinkPreview from attempting to render when it will 404 (because there's no endpoint) should avoid this issue.
Demo:
Screen.Recording.2023-03-03.at.3.57.35.PM.mov
Issues:
This problem is prior to my current changes. Removing this code fixes it, but might reintroduce the original problem.
#4013: You cannot click and drag to highlight text anymore @LuciNyan