Paste into editor without formatted
A few of our users have a bad habit of pasting formatted text from other applications into vB's WYSIWYG editor, which tends to create ugly posts full of format tags. At present, I am editing these posts to remove the bogus formatting, but that's tedious and time consuming.
What I want is for our users simply to use vB's WYSIWYG editor to format their posts, and to stop them pasting formatted text into that editor.
Obviously I can't prohibit people from pasting altogether, and making the default editor non-WYSIWYG is equally unacceptable. So, I need a way to make the default paste behaviour in the WYSIWYG editor "paste without formatting" (hey - just like most other applications already have). Ideally, I'd like a checkbox in the editor to switch the behaviour between "paste" and "paste without formatting", but I can live with only "paste without formatting".
Can anyone suggest where to look in the code to create a mod to do this? Are there any vaguely similar mods I could look at to get a kick-start?
|