@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.
@@ -31352,7 +31352,7 @@ var EnterKeyAction = /** @__PURE__ @class */ (function () {
31352
31352
  }
31353
31353
  isTableEnter = blockElement.tagName === 'TD' || blockElement.tagName === 'TBODY' ? false : true;
31354
31354
  }
31355
- if (e.args.which === 13 && (!Browser.isDevice ? e.args.code === 'Enter' : e.args.key === 'Enter')) {
31355
+ if (e.args.which === 13 && !e.args.ctrlKey && (!Browser.isDevice ? e.args.code === 'Enter' : e.args.key === 'Enter')) {
31356
31356
  if (isNullOrUndefined(this.startNode.closest('LI, UL, OL')) && isNullOrUndefined(this.endNode.closest('LI, UL, OL')) && isTableEnter &&
31357
31357
  isNullOrUndefined(this.startNode.closest('PRE')) && isNullOrUndefined(this.endNode.closest('PRE'))) {
31358
31358
  var shiftKey_1 = e.args.shiftKey;
@@ -33548,6 +33548,10 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
33548
33548
  // eslint-disable-next-line
33549
33549
  var imgPadding = 12;
33550
33550
  var imgResizeBorder = 2;
33551
+ if (isNullOrUndefined(this.contentModule) || isNullOrUndefined(this.contentModule.getEditPanel())) {
33552
+ EventHandler.remove(this.contentModule.getDocument(), Browser.touchMoveEvent, this.imageModule.resizing);
33553
+ return maxWidth;
33554
+ }
33551
33555
  var editEle = this.contentModule.getEditPanel();
33552
33556
  var eleStyle = window.getComputedStyle(editEle);
33553
33557
  var editEleMaxWidth = editEle.offsetWidth - (imgPadding + imgResizeBorder +