@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.
@@ -31072,7 +31072,7 @@ class EnterKeyAction {
31072
31072
  }
31073
31073
  isTableEnter = blockElement.tagName === 'TD' || blockElement.tagName === 'TBODY' ? false : true;
31074
31074
  }
31075
- if (e.args.which === 13 && (!Browser.isDevice ? e.args.code === 'Enter' : e.args.key === 'Enter')) {
31075
+ if (e.args.which === 13 && !e.args.ctrlKey && (!Browser.isDevice ? e.args.code === 'Enter' : e.args.key === 'Enter')) {
31076
31076
  if (isNullOrUndefined(this.startNode.closest('LI, UL, OL')) && isNullOrUndefined(this.endNode.closest('LI, UL, OL')) && isTableEnter &&
31077
31077
  isNullOrUndefined(this.startNode.closest('PRE')) && isNullOrUndefined(this.endNode.closest('PRE'))) {
31078
31078
  const shiftKey = e.args.shiftKey;
@@ -33236,6 +33236,10 @@ let RichTextEditor = class RichTextEditor extends Component {
33236
33236
  // eslint-disable-next-line
33237
33237
  const imgPadding = 12;
33238
33238
  const imgResizeBorder = 2;
33239
+ if (isNullOrUndefined(this.contentModule) || isNullOrUndefined(this.contentModule.getEditPanel())) {
33240
+ EventHandler.remove(this.contentModule.getDocument(), Browser.touchMoveEvent, this.imageModule.resizing);
33241
+ return maxWidth;
33242
+ }
33239
33243
  const editEle = this.contentModule.getEditPanel();
33240
33244
  const eleStyle = window.getComputedStyle(editEle);
33241
33245
  const editEleMaxWidth = editEle.offsetWidth - (imgPadding + imgResizeBorder +