TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.
https://www.blocknotejs.org/
Mozilla Public License 2.0
5.9k stars 384 forks source link

block position error #835

Open jueinin opened 3 weeks ago

jueinin commented 3 weeks ago

Describe the bug <what's going wrong!?> the toolbar position and sidemenu position is error.

image

To Reproduce <clear steps to reproduce are super helpful! Best is to provide an online sandbox, click to create one>

open this link https://www.blocknotejs.org/docs/quickstart and insert a image for example https://registry.npmmirror.com/@lobehub/fluent-emoji-anim-3/1.0.0/files/assets/1f916.webp

insert many lines, and scroll the image to top

Misc

matthewlipski commented 3 weeks ago

I think the error is more so that the block is cut off visually due to overflow, but the toolbar doesn't take the overflow into account and so positions itself where the top of the block normally would be. Either way it is definitely still a bug, so thanks for reporting this!