@syncfusion/ej2-richtexteditor 22.2.9 → 22.2.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 22.2.9
3
+ * version : 22.2.10
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-richtexteditor@*",
3
- "_id": "@syncfusion/ej2-richtexteditor@22.2.5",
3
+ "_id": "@syncfusion/ej2-richtexteditor@22.2.9",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-JD2rI4AXswHa0DJrFyCzhSMhCDLfixX6gyKis6hc0mBOTWXWMz7oMOLhTQeZ2MogDzr43av+HCSUk6GKF9ENgQ==",
5
+ "_integrity": "sha512-78MlcIbPWFlPsrRzTGAympS5eiCqkjg3iEDSK1fX7mjNnIir8l3KqWflqkNcQtR6WiKhiuP2O4EOb3gwG1KxDA==",
6
6
  "_location": "/@syncfusion/ej2-richtexteditor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -26,8 +26,8 @@
26
26
  "/@syncfusion/ej2-react-richtexteditor",
27
27
  "/@syncfusion/ej2-vue-richtexteditor"
28
28
  ],
29
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-22.2.5.tgz",
30
- "_shasum": "fd9b305e9dcde612739e66a6accb774688e89e50",
29
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-richtexteditor/-/ej2-richtexteditor-22.2.9.tgz",
30
+ "_shasum": "8e11f18edec2f7f8b6ff02469ce638d3f14c5117",
31
31
  "_spec": "@syncfusion/ej2-richtexteditor@*",
32
32
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
33
33
  "author": {
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "bundleDependencies": false,
40
40
  "dependencies": {
41
- "@syncfusion/ej2-base": "~22.2.9",
41
+ "@syncfusion/ej2-base": "~22.2.10",
42
42
  "@syncfusion/ej2-buttons": "~22.2.9",
43
- "@syncfusion/ej2-filemanager": "~22.2.5",
43
+ "@syncfusion/ej2-filemanager": "~22.2.10",
44
44
  "@syncfusion/ej2-inputs": "~22.2.9",
45
45
  "@syncfusion/ej2-navigations": "~22.2.8",
46
46
  "@syncfusion/ej2-popups": "~22.2.9",
@@ -70,6 +70,6 @@
70
70
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
71
71
  },
72
72
  "typings": "index.d.ts",
73
- "version": "22.2.9",
73
+ "version": "22.2.10",
74
74
  "sideEffects": false
75
75
  }
@@ -46,7 +46,7 @@ var EnterKeyAction = /** @class */ (function () {
46
46
  }
47
47
  isTableEnter = blockElement.tagName === 'TD' || blockElement.tagName === 'TBODY' ? false : true;
48
48
  }
49
- if (e.args.which === 13 && (!Browser.isDevice ? e.args.code === 'Enter' : e.args.key === 'Enter')) {
49
+ if (e.args.which === 13 && !e.args.ctrlKey && (!Browser.isDevice ? e.args.code === 'Enter' : e.args.key === 'Enter')) {
50
50
  if (isNOU(this.startNode.closest('LI, UL, OL')) && isNOU(this.endNode.closest('LI, UL, OL')) && isTableEnter &&
51
51
  isNOU(this.startNode.closest('PRE')) && isNOU(this.endNode.closest('PRE'))) {
52
52
  var shiftKey_1 = e.args.shiftKey;
@@ -1790,6 +1790,10 @@ var RichTextEditor = /** @class */ (function (_super) {
1790
1790
  // eslint-disable-next-line
1791
1791
  var imgPadding = 12;
1792
1792
  var imgResizeBorder = 2;
1793
+ if (isNOU(this.contentModule) || isNOU(this.contentModule.getEditPanel())) {
1794
+ EventHandler.remove(this.contentModule.getDocument(), Browser.touchMoveEvent, this.imageModule.resizing);
1795
+ return maxWidth;
1796
+ }
1793
1797
  var editEle = this.contentModule.getEditPanel();
1794
1798
  var eleStyle = window.getComputedStyle(editEle);
1795
1799
  var editEleMaxWidth = editEle.offsetWidth - (imgPadding + imgResizeBorder +