Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Editor label cut off

未关闭
#3,079 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@matthewlipski 已经在做这个了。

开始于 2026年9月15日。

评估

这个 Issue 还没有评估数据。

描述

needs-triage
What’s broken?

We're using BlockNote together with Hocuspocus for real-time collaboration. This means we see the cursor of other people in the editor (together with their label).
On the edges of the editor, it does not work well though, as the labels are cut off instead of rendered in a different position. Also in tables, they are cut off.

What did you expect to happen?

The editor labels should always be rendered inside the editor.

  • So when the other persons cursor is on the right edge of the editor and there is not enough space, it should render the label to the left.
  • If the other persons cursor is at the top of the editor and there is not enough space to render it on top, it should render below.
  • Inside a table it should not be cut off
Steps to reproduce
  1. Use BlockNote with a real-time collaboration backend (e.g. Hocuspocus)
  2. Have multiple users in the same editor instance
  3. Have a cursor near the edge of the editor (on top, to the right) or inside a table
BlockNote version

No response

Environment

No response

Additional context
Image Image Image
Contribution
  • I'd be interested in contributing a fix for this issue
Sponsor
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
主要语言
TypeScript
星标
10.2k
派生
772
平均合并
6 天 3 小时
30 天内合并 PR
26

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TypeCellOS/BlockNote 的其他 Issue

查看 TypeCellOS/BlockNote 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。