We know there is a sharepoint content editor webpart. I have inserted it on my page. When my user copy & paste some content from word pad or some other stuff, i want to remove the font-size&color and paste only the text. I have tried it by javascript. Whenever they press ctrl+v i just read all the html elements and remove the styles. It worked well.
But the problem i am facing is, user can manually format their content by selecting color, size from the webpart itself. So that styles also gets removed.
So the only place i can remove styles is at the time of pasting only. I don't know whether content editor webpart has the functionality.
Any suggestion?
Thanks, Saravanan PRS