Skip to content

Commit

Permalink
fix: event
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Apr 11, 2023
1 parent 4f5d48b commit 52dcb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -6510,6 +6510,7 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re

onMouseDown_wysiwyg: function (e) {
if (core.isReadOnly || util.isNonEditable(context.element.wysiwyg)) return;
_w.setTimeout(core._editorRange.bind(core));

// user event
if (typeof functions.onMouseDown === 'function' && functions.onMouseDown(e, core) === false) return;
Expand Down Expand Up @@ -7723,7 +7724,6 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re

onMouseDown_resizingBar: function (e) {
e.stopPropagation();
_w.setTimeout(core._editorRange.bind(core));

core.submenuOff();
core.controllersOff();
Expand Down

0 comments on commit 52dcb3f

Please sign in to comment.