suneditor 2.44.9 → 2.44.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suneditor",
3
- "version": "2.44.9",
3
+ "version": "2.44.10",
4
4
  "description": "Pure JavaScript based WYSIWYG web editor",
5
5
  "author": "JiHong.Lee",
6
6
  "license": "MIT",
package/src/lib/core.js CHANGED
@@ -6510,6 +6510,7 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re
6510
6510
 
6511
6511
  onMouseDown_wysiwyg: function (e) {
6512
6512
  if (core.isReadOnly || util.isNonEditable(context.element.wysiwyg)) return;
6513
+ _w.setTimeout(core._editorRange.bind(core));
6513
6514
 
6514
6515
  // user event
6515
6516
  if (typeof functions.onMouseDown === 'function' && functions.onMouseDown(e, core) === false) return;
@@ -7723,7 +7724,6 @@ export default function (context, pluginCallButtons, plugins, lang, options, _re
7723
7724
 
7724
7725
  onMouseDown_resizingBar: function (e) {
7725
7726
  e.stopPropagation();
7726
- _w.setTimeout(core._editorRange.bind(core));
7727
7727
 
7728
7728
  core.submenuOff();
7729
7729
  core.controllersOff();