@syncfusion/ej2-richtexteditor 21.2.6 → 21.2.8

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.
@@ -15582,9 +15582,12 @@ class IsFormatted {
15582
15582
  const validTags = ['u'];
15583
15583
  if (validTags.indexOf(node.nodeName.toLowerCase()) !== -1) {
15584
15584
  return true;
15585
+ /* eslint-disable */
15585
15586
  }
15586
15587
  else if (this.inlineTags.indexOf(node.nodeName.toLowerCase()) !== -1 &&
15587
- node.style && node.style.textDecoration === 'underline') {
15588
+ node.style && (node.style.textDecoration === 'underline' ||
15589
+ node.style.textDecorationLine === 'underline')) {
15590
+ /* eslint-enable */
15588
15591
  return true;
15589
15592
  }
15590
15593
  else {
@@ -15603,9 +15606,12 @@ class IsFormatted {
15603
15606
  const validTags = ['del', 'strike'];
15604
15607
  if (validTags.indexOf(node.nodeName.toLowerCase()) !== -1) {
15605
15608
  return true;
15609
+ /* eslint-disable */
15606
15610
  }
15607
15611
  else if (this.inlineTags.indexOf(node.nodeName.toLowerCase()) !== -1 &&
15608
- node.style && node.style.textDecoration === 'line-through') {
15612
+ node.style && (node.style.textDecoration === 'line-through' ||
15613
+ node.style.textDecorationLine === 'line-through')) {
15614
+ /* eslint-enable */
15609
15615
  return true;
15610
15616
  }
15611
15617
  else {