@syncfusion/ej2-richtexteditor 20.3.60 → 20.3.61

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.
@@ -12192,6 +12192,7 @@ var NodeCutter = /** @__PURE__ @class */ (function () {
12192
12192
  for (var i = 0; !isNullOrUndefined(firstChild.childNodes) && i < firstChild.childNodes.length; i++) {
12193
12193
  if (firstChild.childNodes[i].nodeName === 'IMG' || (firstChild.childNodes[i].nodeName === 'SPAN' &&
12194
12194
  (firstChild.childNodes[i].classList.contains('e-video-wrap') ||
12195
+ firstChild.childNodes[i].classList.contains('e-embed-video-wrap') ||
12195
12196
  firstChild.childNodes[i].classList.contains('e-audio-wrap')))) {
12196
12197
  result = false;
12197
12198
  }
@@ -17946,7 +17947,7 @@ var ToolbarStatus = /** @__PURE__ @class */ (function () {
17946
17947
  && (fontName === null || fontName === undefined || (fontName.filter(function (value, pos) {
17947
17948
  var pattern = new RegExp(name, 'i');
17948
17949
  if ((value.replace(/"/g, '').replace(/ /g, '').toLowerCase() === name.replace(/"/g, '').replace(/ /g, '').toLowerCase()) ||
17949
- (value.search(pattern) > -1)) {
17950
+ (value.split(',')[0] && value.split(',')[0].search(pattern) > -1)) {
17950
17951
  index = pos;
17951
17952
  }
17952
17953
  }) && (index !== null)))) {
@@ -30299,9 +30300,11 @@ var RichTextEditor = /** @__PURE__ @class */ (function (_super) {
30299
30300
  this.notify(rtlMode, { enableRtl: this.enableRtl });
30300
30301
  if (this.enableRtl) {
30301
30302
  this.element.classList.add(CLS_RTL);
30303
+ this.inputElement.classList.add(CLS_RTL);
30302
30304
  }
30303
30305
  else {
30304
30306
  this.element.classList.remove(CLS_RTL);
30307
+ this.inputElement.classList.remove(CLS_RTL);
30305
30308
  }
30306
30309
  };
30307
30310
  RichTextEditor.prototype.updateReadOnly = function () {