@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.
@@ -15696,9 +15696,12 @@ var IsFormatted = /** @__PURE__ @class */ (function () {
15696
15696
  var validTags = ['u'];
15697
15697
  if (validTags.indexOf(node.nodeName.toLowerCase()) !== -1) {
15698
15698
  return true;
15699
+ /* eslint-disable */
15699
15700
  }
15700
15701
  else if (this.inlineTags.indexOf(node.nodeName.toLowerCase()) !== -1 &&
15701
- node.style && node.style.textDecoration === 'underline') {
15702
+ node.style && (node.style.textDecoration === 'underline' ||
15703
+ node.style.textDecorationLine === 'underline')) {
15704
+ /* eslint-enable */
15702
15705
  return true;
15703
15706
  }
15704
15707
  else {
@@ -15717,9 +15720,12 @@ var IsFormatted = /** @__PURE__ @class */ (function () {
15717
15720
  var validTags = ['del', 'strike'];
15718
15721
  if (validTags.indexOf(node.nodeName.toLowerCase()) !== -1) {
15719
15722
  return true;
15723
+ /* eslint-disable */
15720
15724
  }
15721
15725
  else if (this.inlineTags.indexOf(node.nodeName.toLowerCase()) !== -1 &&
15722
- node.style && node.style.textDecoration === 'line-through') {
15726
+ node.style && (node.style.textDecoration === 'line-through' ||
15727
+ node.style.textDecorationLine === 'line-through')) {
15728
+ /* eslint-enable */
15723
15729
  return true;
15724
15730
  }
15725
15731
  else {