Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Apr 11, 2023
2 parents 42a1224 + 3bc4593 commit 90fe1ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/suneditor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suneditor",
"version": "2.44.9",
"version": "2.44.10",
"description": "Pure JavaScript based WYSIWYG web editor",
"author": "JiHong.Lee",
"license": "MIT",
Expand Down
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 90fe1ed

Please sign in to comment.