@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.
@@ -12098,6 +12098,7 @@ class NodeCutter {
12098
12098
  for (let i = 0; !isNullOrUndefined(firstChild.childNodes) && i < firstChild.childNodes.length; i++) {
12099
12099
  if (firstChild.childNodes[i].nodeName === 'IMG' || (firstChild.childNodes[i].nodeName === 'SPAN' &&
12100
12100
  (firstChild.childNodes[i].classList.contains('e-video-wrap') ||
12101
+ firstChild.childNodes[i].classList.contains('e-embed-video-wrap') ||
12101
12102
  firstChild.childNodes[i].classList.contains('e-audio-wrap')))) {
12102
12103
  result = false;
12103
12104
  }
@@ -17799,7 +17800,7 @@ class ToolbarStatus {
17799
17800
  && (fontName === null || fontName === undefined || (fontName.filter((value, pos) => {
17800
17801
  const pattern = new RegExp(name, 'i');
17801
17802
  if ((value.replace(/"/g, '').replace(/ /g, '').toLowerCase() === name.replace(/"/g, '').replace(/ /g, '').toLowerCase()) ||
17802
- (value.search(pattern) > -1)) {
17803
+ (value.split(',')[0] && value.split(',')[0].search(pattern) > -1)) {
17803
17804
  index = pos;
17804
17805
  }
17805
17806
  }) && (index !== null)))) {
@@ -30006,9 +30007,11 @@ let RichTextEditor = class RichTextEditor extends Component {
30006
30007
  this.notify(rtlMode, { enableRtl: this.enableRtl });
30007
30008
  if (this.enableRtl) {
30008
30009
  this.element.classList.add(CLS_RTL);
30010
+ this.inputElement.classList.add(CLS_RTL);
30009
30011
  }
30010
30012
  else {
30011
30013
  this.element.classList.remove(CLS_RTL);
30014
+ this.inputElement.classList.remove(CLS_RTL);
30012
30015
  }
30013
30016
  }
30014
30017
  updateReadOnly() {