[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
|
derekblank
left a comment
There was a problem hiding this comment.
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
Backspaceat the start of the block.How?
By bringing the code changes to the
onMergefunctionality in the Block list. It also adds theList Itemblock in the mobiletransformationCategories.It also updates a test that has an outdated functionality with the current one.
Testing Instructions
BackspacekeyRepeat the same with the
Quoteblock.Screenshots or screencast