Skip to content

Merge the next list item on Delete - #150

Open
RobinDev wants to merge 2 commits into
editor-js:mainfrom
RobinDev:fix/list-forward-delete
Open

RobinDev wants to merge 2 commits into
editor-js:mainfrom
RobinDev:fix/list-forward-delete

Conversation

@RobinDev

Copy link
Copy Markdown
Contributor

In a list with Room and 210, give 210 a child item. Place the caret after Room and press Delete. The caret moves to 210 and both items remain separate.

Join the two items and keep the caret at the join. The next item's children stay nested. When the next item is the current item's first child, its children move up without changing order.

Verified in Chrome with Editor.js 2.31.7. Ran yarn lint and yarn build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant