Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi,

In testing copying and pasting into the SF Rich Text Editor from a variety of html sources I noticed that the editor was not recognising that content inside <s></s> was formatted as strikethrough (the strikethrough button was not changing to indicate it was strikethrough - it would, however, recognise <del></del> and <strike></strike>). 

I've looked at the underlying code and in editor-manager/plugin/isformatted.ts the static method isStrikethrough has validTags set to just ['del','strike'] so it's missing 's' from that list. So I think that line should be:

const validTags : string[] = ['del','strike','s'];

Plus I think IsFormatted.inlineTags needs 's' adding to the list of tags as well (and probably "strike" also needs adding to that list if it is to be recognised properly as it's not currently there despite being in the validTags for isStrikethrough).

Regards,

Matt