Describe the bug
I have several forms that utilize tiptap. In each of the forms when I hit the "enter" key it focuses on tiptap. I have no @key events. Nada.
Steps to Reproduce / Codesandbox Example
Steps to reproduce the behavior:
Expected behavior
Not focus on tiptap
Environment
Additional Info
It does appear that when I remove all the buttons from the editor-menu-bar that it no longer happen.
Ok, changing the
@dolbex
you changed them into what?
If anyone comes across this problem, in my case it was due to the commands in the menu-bar being button elements without type="button". Adding type fixed it for me.
Most helpful comment
If anyone comes across this problem, in my case it was due to the commands in the menu-bar being
buttonelements withouttype="button". Adding type fixed it for me.