Copying MS word content into editor

2 posts, 0 answers
  1. Sachidananda
    Sachidananda avatar
    12 posts
    Member since:
    Jun 2011

    Posted 29 Aug 2011 Link to this post

    Hi,

    In the tools.xml we have set restrictions such that the user is not able to change the forecolor or backcolor or table tags etc.
    So many of the buttons are hidden from the user.

    But I see that the user is able to copy any content from MS word into the editor and It works.It does not filter the content based on the restrictions we have set,

    How can we restrict the content which i being copied into the editor.
  2. Rumen
    Admin
    Rumen avatar
    13752 posts

    Posted 29 Aug 2011 Link to this post

    Hi Sachidananda,

    You can set StripFormattingOptions="MSWordRemoveAll,Css,Font,Span" and see whether the formatting is stripped from the pasted content as expected.

    All the best,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top