Closed
Description
Describe the bug
While selecting text, the formatting toolbar appears immediately before the mouseup
event fires. This started happening after the introduction of isElementWithinEditorWrapper
. It's also worth mentioning that restricting the event to event.button === 0
should prevent the toolbar from appearing.