paste cleanup

2 posts, 0 answers
  1. Bob
    Bob avatar
    25 posts
    Member since:
    Apr 2019

    Posted 05 May Link to this post

    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?
  2. Petar
    Admin
    Petar avatar
    16 posts

    Posted 05 May Link to this post

    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.
Back to Top