-
-
Couldn't load subscription status.
- Fork 624
Description
Describe the bug
When the cursor is on an empty line, a placeholder should be displayed. However, in collaborative editing scenarios, the placeholder is not shown if another editor's cursor is present on the same line.
This issue can be observed in the following video:
2025-10-20.18.34.28.mov
This issue is particularly problematic when editing a completely empty document, as it occurs on the very first line, leading to a confusing user experience.
To Reproduce
- Open a document in collaborative editing mode with multiple users - https://www.blocknotejs.org/
- One user places their cursor on an empty line
- Another user places their cursor on the same empty line
- Observe that the placeholder text is not displayed
Expected behavior:
The placeholder should be visible on empty lines regardless of other editors' cursor positions.
Actual behavior:
The placeholder is hidden when multiple cursors are present on the same empty line.
Misc
- Node version:
- Package manager:
- Browser:
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖