Editor : Clean formatting tool - Does not work for Strikethrough text copied from MS Word

0 Answers 13 Views
Editor
Purushothama
Top achievements
Rank 1
Purushothama asked on 03 Jun 2022, 04:20 PM

Hello,

We have a specific scenario reported from our client with the "Clean Formatting" tool in the editor button.

Copy the Strikethrough text from MS word & paste it in Editor.

Expectation here is clean formatting tool should remove the Strikethrough & text should become normal. It works fine when we copy the text from "Google Doc".

I know that "clean formatting" tool removes all the styles associated.

When the text is copied from "Google Doc", it will have the "Span" element with the css associated. hence the clean formatting option will be able to remove the css & make it as normal text.

Strikethrough

When the text is copied from "MS Word", it will have the "<s>" element without any css associated. hence the clean formatting option will NOT be able to make the text normal since there are no associated css.

Strikethrough

Please let me know if you have any idea to achieve this functionality ?

Thanks & Regards, Puru

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Purushothama
Top achievements
Rank 1
Share this question
or