Hello,
I would like to force users to paste as plain text to the wysiwyk editor. On a multiauthor blog it is impossible to educate all users to paste always as plain text.
Here is a good take on the problem. Pop up the paste as plain text dialog when pasting. The thing is, I can't get it to work for wordpress. Where to put the javasript? I've tried to put in the header and the footer of the admin area.
Also is it wise to filter the the_content() in this fashion?
Thanks for all the help :)
Here is something about this but still have no idea how to implement it on WP http://tinymce.moxiecode.com/forum/viewtopic.php?pid=84932#p84932
rtomasso
Member
Posted 1 year ago #
Have you tried using strip_tags() on the input?
No, I have not, it works for stuff that is pasted from email or a website. But how about the crap that comes from pasting from Word, is there an easy way to strip that?
For some of you that may wonder the same thing, here is how to use the strip_tags on the_content http://wordpress.org/support/topic/how-to-strip_tags-the_content?replies=3
Thank you so much :) This was very helpful!