### What’s broken? Hitting enter doesn't close the legend input. Right now only clicking out or hitting escape works. ### What did you expect to happen? As enter is not used to create a new line, it should close the input box and save the content. ### Steps to reproduce https://github.com/user-attachments/assets/d8fc1409-618b-4d47-82df-ddfeac4947f1 ### BlockNote version _No response_ ### Environment Firefox 148 64 bit NixOS ### Additional context Tested here https://www.blocknotejs.org/demo#ga648 ### Contribution - [ ] I'd be interested in contributing a fix for this issue ### Sponsor - [x] I'm a [sponsor](https://www.blocknotejs.org/pricing) and would appreciate if you could look into this sooner than later 💖
What’s broken?
Hitting enter doesn't close the legend input. Right now only clicking out or hitting escape works.
What did you expect to happen?
As enter is not used to create a new line, it should close the input box and save the content.
Steps to reproduce
enter-legendbug.webm
BlockNote version
No response
Environment
Firefox 148 64 bit NixOS
Additional context
Tested here https://www.blocknotejs.org/demo#ga648
Contribution
Sponsor