Format Painter and Format Paste WordProcessor

I need to implement the MSWord Format Painter functionality in Document Editor. Currently the component offers the possibility to paste the formatting of a copied text, but I need to be able to add the classic MSWord Format Painter and Format Paste commands. 
Any ideas that can help me?
Thanks in advance

1 Reply 1 reply marked as answer

KB Kurthis Banu Abdul Majeeth Syncfusion Team February 17, 2021 02:04 PM UTC

Hi Esther, 

Regarding: Format Painter 
Currently, Document editor doesn’t support for Format painter, we have already logged feature request for this. we will implement it any of our upcoming release. We will update the status of the feedback link once it is taken for implementation. We will update you once feature implemented. You can also track the feature status from below link.  


Please up-vote this feature request to make this feature request as our priority.    

Regarding: Format Paste  


Document-Editor already have support to paste with formatting. By default, paste with formatting option, “KeepSourceFormatting”. You can customize it based on your requirement by using below code snippet. 

DefaultPasteOption= “KeepSourceFormatting” |"MergeWithExistingFormatting”|“KeepTextOnly”; 

 
container.GetDocumentEditor().DefaultPasteOption=(PasteOptions)Enum.Parse(typeof(PasteOptions), ("KeepSourceFormatting "), true); 
 


Just for your reference, we have share documentation in typescript language: 

Regards, 
Kurthis Banu A. 


Marked as answer
Loader.
Up arrow icon