BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

fix: opening suggestion menu in collab mode on empty document

Open YousefED opened this issue 1 month ago • 3 comments

There's a bug that hitting the + button doesn't work in collaboration mode, on an empty document. I tried to address it here but didn't get to the root cause yet.

In this PR, I have:

  • improved some of the naming in the suggestion plugin to make it easier for me to untangle the code
  • removed some of the offsets that I think shouldn't be there when opening the suggestion menu programmatically

However, this doesn't fix the issue yet. I think there's an issue with using trackPosition in this specific case.

We can diagnose further by adding a breakpoint in the if-statement marked by // Checks if the menu should be hidden.

YousefED avatar Jan 07 '26 19:01 YousefED