duminică, 12 decembrie 2010

Things you should know about your site’s WYSIWYG editor

Things you should know about your site's WYSIWYG editor

WYSIWYG means ‘what you see is what you get’. In the context of a website it means a form of text input that allows some formatting similar to word processing software (see the above image). So unlike a regular text area you can do great things like bold, italic, hyperlinks, tables, etc. More advanced editors will even let you create forms, tables and upload images. Such editors are great as they allow people with little or no web design knowledge to add content that is far more interesting than plain text to their site. Sometimes though, a WYSIWYG editor can give you too much control—and lead to problems. So here are some things you should know about your site’s WYSIWYG editor.

Giving design control someone who isn’t a designer

If you don’t have an eye for design you could end up creating a page that is out of keeping with the rest of the site. The tendency can be to go overboard and use text sizes, colours and typefaces that aren’t used elsewhere in the site. It ends up giving your site an amateur feel. A good web designer will configure the editor so that it only allows you the options you need.

Paste from Word and other applications

There is a tendency with WYSIWYG editors to paste large chunks of text from other applications. The editor tries to copy all the styles as closely as possible. You end up with a similar result to that mentioned in the previous section: an inconsistent and amateur web page. Many editors have a ‘paste as plain text’ option (see below). This removes all extraneous style information from the text. A WYSIWYG editor works better when using its native style controls so always input text directly or paste as plain text.

User input

If your site has an editor on the front–end and you don’t screen their input correctly they could very easily upload malicious script information to your site. This could cause the site to display incorrectly and/or cause visitors’ browsers to issue a warning when your site is visited. Ask your web designer to remove all

Niciun comentariu:

Trimiteți un comentariu