Skip to content
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

[GB-Mobile Integration] Fix for Backspace does not outdent nested list item #821

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

daniloercoli
Copy link
Contributor

This PR is the first step required to fix wordpress-mobile/gutenberg-mobile#1027

@mkevins has reported the problem with backspace and nested lists, and already proposed a solution here. In this PR I started from scratch, but ended up with similar code.

Please, test this PR by pointing the experimental branch here https://github.com/wordpress-mobile/gutenberg-mobile/tree/experimental/fix-backspace-outdent-on-nested-lists to the full hash fbf98c1af64552a01f1ae203d295b79b8362c629 of this branch.

  • Test both the Google GBoard and the AOSP keyboard.
  • Also test on real devices, and emulators by using the external OS keyboard as input (in order to simulate HW keyboard).

Review

@mkevins

Note: I run both kotlin unit tests, and Java connected tests on this PR without finding any issue.

…essed, regarless of the position of the caret in the field.

Previously it was only called when the caret was at beginning of the field.
…backspace in case selection is active in the editor
@daniloercoli daniloercoli added enhancement Gutenberg This issue is also valid importing Aztec in Gutenberg labels Jun 4, 2019
@daniloercoli daniloercoli requested a review from mkevins June 4, 2019 16:42
@daniloercoli daniloercoli marked this pull request as ready for review June 18, 2019 14:08
@mchowning
Copy link
Contributor

mchowning commented Jan 6, 2021

👋 @daniloercoli ! I'm assuming we should still work to merge this PR since the related issue is still open. Do you agree @mkevins, @daniloercoli ?

@mkevins
Copy link
Contributor

mkevins commented Feb 9, 2021

@daniloercoli ! I'm assuming we should still work to merge this PR since the related issue is still open. Do you agree @mkevins, @daniloercoli ?

Hi @mchowning 👋 😄

I somehow missed the original ping and just saw this one, so my apologies for the long delay. I agree, this is worth pursuing. I'm not sure off-hand whether the proposed solution needs to be updated to be current with all the changes from then to now. Do you have an idea of the priority of the original issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Gutenberg This issue is also valid importing Aztec in Gutenberg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backspace does not outdent nested list item on android
3 participants