WYSIWYG editor - restrict formatting?

C

CRON

Hi, Is it possible to restrict the formatting of a WYSIWYG editor to
simple tags like bold, italic, etc? I have a working editor using
iframes on my site but users are pasting in text from word and other
programs so there's a lot of stray code floating around. not to mention
hyperlinks!
 
A

Adrienne Boswell

Hi, Is it possible to restrict the formatting of a WYSIWYG editor to
simple tags like bold, italic, etc? I have a working editor using
iframes on my site but users are pasting in text from word and other
programs so there's a lot of stray code floating around. not to mention
hyperlinks!

It depends on what WYSWIG editor you're using (I am assuming that we are
dicussing a form textfield editor). I'm sure some of them can be
configured. You may want to check out the one at
<http://themaninblue.com/writing/perspective/2005/01/27/>, which will
prompt the user that is will remove bad code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top