Prevent Accidental Clicks on the buttonmenu when it is hidden
Prevent Accidental Clicks on the buttonmenu when it is hidden

Instead of setting the opacity to 0, we set the display to none so that not only is the menu invisible but the menu isn't clickable so it won't interfere with the user experience.

tecnogram888/prosemirror,tecnogram888/prosemirror