TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.

Home Page:https://www.blocknotejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default gray "List" text overlays list item text when having pressed shift + enter on that item

jelares opened this issue · comments

Describe the bug
On numbered lists, the default gray "List" text will sometimes appear even when the list item is not empty (overlaying).

To Reproduce

  1. Create a numbered list.
  2. Make an item in the numbered list.
  3. Press shift + enter.
  4. Make a new, second, item in that list.
  5. The default gray "List" will be overlaying item one.

Images:
No bug - list items without shift + enter.
Screenshot 2024-04-24 at 12 23 50 PM

Bug - list items with shift + enter.
Screenshot 2024-04-24 at 12 23 58 PM

Misc

  • Node version: v16.19.0
  • Package manager: npm
  • Browser: Arc browser

+1

Edit:

My solution for now was to just disable it writing "List" completely, like this
.bn-inline-content::before {
content: "" !important;
}

+1
when I press shift + enter this comes, not only in heading/paragraphs but in all features like bullet list or numbered list etc
need a solution to add/overwrite keyboard shortcuts

image

Fixed in 0.14.0! (see #784)

Awesome! Thanks for your help guys! Blocknotes is the best!