Skip to content

Prevent Formatting Toolbar from Showing Before Mouseup #1773

Closed
@Aslam97

Description

@Aslam97

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.

Screen.Recording.2025-06-20.at.14.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions