We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f496a0 commit 3fb8b7bCopy full SHA for 3fb8b7b
packages/core/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts
@@ -130,7 +130,10 @@ export class FormattingToolbarView implements PluginView {
130
};
131
132
viewMousedownHandler = (e: MouseEvent) => {
133
- if (!this.isElementWithinEditorWrapper(e.target as Node)) {
+ if (
134
+ !this.isElementWithinEditorWrapper(e.target as Node) ||
135
+ e.button === 0
136
+ ) {
137
this.preventShow = true;
138
}
139
0 commit comments