-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Mobile] List/quote: Unwrap inner block when pressing Backspace at start #46115
[Mobile] List/quote: Unwrap inner block when pressing Backspace at start #46115
Conversation
…t block merging functionality
…t unwrap the whole list but the selected first item
Size Change: 0 B Total Size: 1.31 MB ℹ️ View Unchanged
|
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.
Thank you!
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.
LGTM! I was able to test successfully. 🚀
Hey @ellatrix 👋 should I merge this branch into yours or wait until you merge your branch into |
@geriux You can merge it into my branch because I have failing tests without this, so can't merge into trunk rn. You have failing unit tests here though? |
@ellatrix It's weird because I only changed |
Let's merge it into my branch and see what happens. |
What?
This PR is a follow-up of #45075 to make these changes work on mobile.
Why?
To have the same behavior in both web and mobile when unwrapping inner blocks when pressing
Backspace
at the start of the block.How?
By bringing the code changes to the
onMerge
functionality in the Block list. It also adds theList Item
block in the mobiletransformationCategories
.It also updates a test that has an outdated functionality with the current one.
Testing Instructions
Backspace
keyRepeat the same with the
Quote
block.Screenshots or screencast