You are here: Re: WYSIWYG editor - restrict formatting? « HTML « IT news, forums, messages
Re: WYSIWYG editor - restrict formatting?

Posted by Adrienne Boswell on 11/26/18 11:53

Gazing into my crystal ball I observed "CRON" <cronoklee@hotmail.com>
writing in news:1153329339.063262.72280@p79g2000cwp.googlegroups.com:

> 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.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация