-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[lexical-table] Stop selecting the whole table after pasting cells #6539
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
I was actually just investigating an issue with whole table selection as well :) #6542 I'm wondering if it should be ok for a PR like the one that was merged here to go through without tests? The problem is that the change made here is now indefensible against future changes. No one will know whether it's safe to modify code in this area, and no one will know whether their changes break something here. I mention this in my PR:
|
Fixes #5656
Upon pasting a cells selection in a table when the target area is not a cells selection inside a table, it would select the whole table after the paste event. It worked correctly (not select the whole table) if the selected area to paste to was a cells selection.
Before:
before.mov
After:
after.mov