-
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
#4618 combine list if next sibling is list node #5803
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Wow, I really thought we were already doing this somewhere. I guess we only did it on insertion before: I wonder if we can remove that code now, and handle it all here. |
oh cool thanks @acywatson for the code pointer
by
or do it as per this PR and remove the merging logic at the above code pointer (inside LexicalListItemNode)? |
ill merge this PR first and delete the duplicate list merge logic in another PR so its easier to test for any regressions |
addressed in #5810 5810 |
Yes, you correctly interpreted my intent. Thank you! |
Fix for issue 4618
Before
see #4618
After
Screen.Recording.2024-04-02.at.2.08.44.PM.mov
^list of same types merged
^ lists of different types not merged