WYSIWYG and problems with fonts

Everything HTML/XHTML/DHTML

WYSIWYG and problems with fonts

Postby Voodoochilli on Mon Jan 21, 2008 9:58 am

I guess this is a HTML post, not 100% sure. Anyway, for a lot of my projects I use online WYSIWYGs so that my clients can login to the CMS I have built and update the text, allowing them to format the html of the page. I am fine with them updating things like links, bullets and underlines etc but often clients use Microsoft Word and when they paste in the text they tend to paste in not only loads of unneeded word code but also the wrong font. Generally clients are unable to spot the differnce between say Arial and Verdana so this goes unnoticed until I see it.

I usually use Open Wysiwyg - just wondering if anyone knows a good way of removing fonts and Word code. I guess using PHPs strip_tags function could do it.

Any ideas?
User avatar
Voodoochilli
Site Admin
 
Posts: 77
Joined: Tue Nov 27, 2007 9:52 am
Location: Hereford, UK

Re: WYSIWYG and problems with fonts

Postby Dawson Tyrone on Thu Aug 06, 2009 10:48 am

Hi,
If you insist on using one of those "WYSIWYG" ("What You See Is What You Get"... though what you see might well not be what users of other systems or browsers might get) editors that shield you from true HTML coding, you should know about some of the junk they tend to insert into your documents. This stuff is very familiar to anyone who's tried to clean up the mess left behind by running a web site through one of those site-mangling editors.
Dawson Tyrone
 
Posts: 30
Joined: Mon Jun 29, 2009 11:38 am


Return to HTML Forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron