@syncfusion/ej2-richtexteditor 20.2.45 → 20.2.46

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.
@@ -19746,6 +19746,7 @@ var FullScreen = /** @__PURE__ @class */ (function () {
19746
19746
  baseToolbar: _this.parent.getBaseToolbarObject()
19747
19747
  });
19748
19748
  }
19749
+ _this.parent.refreshUI();
19749
19750
  _this.parent.trigger(actionComplete, { requestType: 'Maximize', targetItem: 'Maximize', args: event });
19750
19751
  }
19751
19752
  });
@@ -25255,7 +25256,7 @@ var EnterKeyAction = /** @__PURE__ @class */ (function () {
25255
25256
  blockElement = curElement;
25256
25257
  curElement = curElement.parentElement;
25257
25258
  }
25258
- isTableEnter = blockElement.tagName === 'TD' ? false : true;
25259
+ isTableEnter = blockElement.tagName === 'TD' || blockElement.tagName === 'TBODY' ? false : true;
25259
25260
  }
25260
25261
  if (e.args.which === 13 && e.args.code === 'Enter') {
25261
25262
  if (isNullOrUndefined(this.startNode.closest('LI')) && isNullOrUndefined(this.endNode.closest('LI')) && isTableEnter &&
@@ -25341,7 +25342,10 @@ var EnterKeyAction = /** @__PURE__ @class */ (function () {
25341
25342
  isFocusedFirst = true;
25342
25343
  }
25343
25344
  _this.removeBRElement(nearBlockNode);
25344
- if (((_this.range.startOffset === 0 && _this.range.endOffset === 0) || isFocusedFirst) &&
25345
+ var fireFoxEnterAtMiddle = Browser.userAgent.indexOf('Firefox') != -1 && _this.range.startOffset === 0 && _this.range.startContainer === _this.range.endContainer &&
25346
+ _this.range.startContainer.nodeName === '#text' && !_this.parent.formatter.editorManager.domNode.isBlockNode(_this.range.startContainer.previousSibling) &&
25347
+ _this.range.startContainer.parentElement === _this.range.startContainer.previousSibling.parentElement;
25348
+ if (!fireFoxEnterAtMiddle && ((_this.range.startOffset === 0 && _this.range.endOffset === 0) || isFocusedFirst) &&
25345
25349
  !(!isNullOrUndefined(_this.range.startContainer.previousSibling) &&
25346
25350
  (_this.range.startContainer.previousSibling.nodeName === 'IMG' || _this.range.startContainer.previousSibling.nodeName === 'BR'))) {
25347
25351
  var isNearBlockLengthZero = void 0;
@@ -26734,7 +26738,7 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
26734
26738
  if (this.valueContainer) {
26735
26739
  this.valueContainer.value = (this.enableHtmlEncode) ? this.value : value;
26736
26740
  }
26737
- if (this.editorMode === 'HTML' && this.inputElement && this.inputElement.innerHTML.trim() !== value.trim()) {
26741
+ if (this.editorMode === 'HTML' && this.inputElement && this.inputElement.innerHTML.replace('&', '&').trim() !== value.trim()) {
26738
26742
  this.inputElement.innerHTML = value;
26739
26743
  }
26740
26744
  else if (this.editorMode === 'Markdown' && this.inputElement