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

Copying MS word content into editor

1 Answer 55 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sachidananda
Top achievements
Rank 1
Sachidananda asked on 29 Aug 2011, 02:27 PM
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.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 29 Aug 2011, 04:21 PM
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 >>

Tags
Editor
Asked by
Sachidananda
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or