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

Issue with Persistent Placeholder in Liveblocks and BlockNote when Using Multiple Clients

devmalcolm opened this issue · comments

commented

Hi, i have discovered a bug in Liveblocks and BlockNote where placeholders remain visible even after I input text using features like Headings (1, 2, 3) or Bullet Lists. This issue arises when two or more clients are simultaneously interacting with the same document.

Steps to Reproduce:

  • Open Liveblocks and BlockNote in multiple client sessions. (or something else that allow collaboration)
  • Insert a text element that includes a placeholder, such as a Heading or a Bullet List / Numbered List.
  • Type text into the newly created text element.

Expected Behavior:
The placeholder should disappear once text is entered.

Actual Behavior:
The placeholder remains visible behind the text I enter, leading to potential confusion about whether the text is properly recorded.

Additional Information:
This issue occurs consistently with both Headings and Bullet Lists.
The problem is reproducible across various client sessions.
(I've tested without any clients and it seems to work without bugs)

image
image