This is a migrated thread and some comments may be shown as answers.

paste cleanup

1 Answer 108 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 2
Veteran
Iron
Bob asked on 05 May 2020, 09:42 AM
I believe the MVC version (.PasteCleanup(x => x.KeepNewLines(false))) and the JQuery versions ($("#editor").kendoEditor({ paste: function (ev) { ev.html = $(ev.html).text(); } });) have paste clean up functions to strip html from pasted code.
How can I achieve this with the angular editor?

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 05 May 2020, 02:48 PM

Hello Bob,

Thank you for the reference.

Indeed at the moment there is no such functionality built into the editor but there is an open issue for that - https://github.com/telerik/kendo-angular/issues/2410

I am happy to say that the Paste cleanup feature is under active development right now and can be expected to be released in our next official release scheduled for the end on May. 

I hope this helps.

Regards,
Petar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Editor
Asked by
Bob
Top achievements
Rank 2
Veteran
Iron
Answers by
Petar
Telerik team
Share this question
or