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

[Bug]: ListKeyMap extension does not delete content if selection includes a non-list node #5784

Open
1 task done
Minniehajj opened this issue Oct 29, 2024 · 1 comment
Open
1 task done
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@Minniehajj
Copy link

Affected Packages

core, extension-list-keymap

Version(s)

2.9.0

Bug Description

The List Keymap extension does NOT delete selected content if the selection includes elements that are NOT part of the list node
See codesandbox and video

Screen.Recording.2024-10-29.at.4.52.36.PM.mov

Browser Used

Chrome

Code Example URL

https://codesandbox.io/p/sandbox/holy-haze-6s2fk6

Expected Behavior

The selected test is deleted and the element below the list is not set into the list

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.
@Minniehajj Minniehajj added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Oct 29, 2024
@ashish07-07
Copy link

I guess its working fine when i delete paragraph and list together both got deleted , Nothing was left

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

2 participants