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]: Incorrect nesting when pressing Enter between list levels #5937

Open
1 task done
Gaurussel opened this issue Dec 16, 2024 · 1 comment
Open
1 task done

[Bug]: Incorrect nesting when pressing Enter between list levels #5937

Gaurussel opened this issue Dec 16, 2024 · 1 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

Comments

@Gaurussel
Copy link

Affected Packages

extension-bulletlist, extension-orderedlist, extension-tasklist

Version(s)

latest

Bug Description

When creating a list with two levels of nesting in Tiptap, pressing double Enter between the first level list item and its nested paragraph results in an extra list item being created. This extra item has the incorrect nesting level.

Steps to Reproduce:

  1. Create a list with two levels of nesting.
  2. Place the cursor between the first-level list item and its nested paragraph.
image
  1. Press Enter.
  2. An extra list item is created with incorrect indentation.

Browser Used

Chrome

Code Example URL

No response

Expected Behavior

Created new list item

Additional Context (Optional)

Screen.Recording.2024-12-16.at.14.37.00.mov

Dependency Updates

  • Yes, I've updated all my dependencies.
@Gaurussel Gaurussel 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 Dec 16, 2024
@Jiviei
Copy link

Jiviei commented Dec 17, 2024

I’m also facing this issue.

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