Lose the WYSIWYG editor in Joomla

Written by Matt on 15 January 2010

Topics: Core tips, Development tips

The editor is great in Joomla, don’t take this the wrong way, but if you want perfectly formatted content that displays exactly how you want it, there is no replacement for hand coding your articles.

Yes, it is great to be able to write a quick article and click a few buttons in the editor window to align things, but in the long run, you are really just hindering your education. Knowing basic html is going to help you make cleaner, more readable, and more reliable websites. Most articles consist of a lot of:
< p > and < h*> tags.
Why run the risk of using a editor that may insert all sorts of nonsense like using < p >< /p > as spacers? It’s not semantic, it makes no sense, and it’s invariably going to cause you issues over the long haul.

Get a html cheat cheat, keep it nearby, and go unpublish all your WYSIWYG plugins in Joomla. You will be glad you did.

Get notified about new tips & tricks for Joomla:

RSS

Click here to subscribe via RSS feed


subscribe

Click here to receive updates via email

    Related Posts

    No related posts.

5 Comments For This Post I'd Love to Hear Yours!

  1. Jack Bremer Says:

    This is what we do as developers in many cases, on our own sites, but you can’t expect a client who takes delivery of a site to do this – they need video screencast guides to using WYSIWYG editors, let a lone HTML coding!

  2. Gobezu Says:

    hmmm, the editor makes it so much more simple to do it correctly, but of course as everything else you would need to use it correctly
    besides, try to hand over the site to customer w/o the editor and you will probably get a hard time explaining why and how
    so i believe the best way is to learn from the beginning how to use the editor correctly
    but then, there are time you would need to look at the source to get it perfectly and for that they have the view source functionality as well
    at last a plug for my favo editor JCE (www.joomlacontenteditor.net)

  3. matt Says:

    Both, very valid points. I suppose it really depends upon the clients you cater to. In my personal situation, 95% of the sites I hand over are never touched by the clients and they never even know there is a Joomla admin area. My clients tend to have more static sites that they do not update at much, or at all. On the rare instance they want info updated, they have me do it for a administrative fee.
    I see your points though for the clients who are more hands on. It’s just frustrating losing html compliance due to the editor, or screwing up layouts or formatting due to horrific inline editors.

  4. Ian Mackinnon Says:

    What would be great is a WYSIWYG editor that only allows semantic markup.

  5. Ryan Maizel Says:

    I agree that going without the WYSIWYG editor is generally the best way to go. I like to give my clients access to change and update pages, but not access to the admin panel. The problem is, without a WYSIWYG they can’t do this at all, and with it, they invariably mess around with the styles to the point where the look of the text is horribly mangled. What would be great is if someone would create an editor that could be exposed through the front end that would allow the user to edit text – add paragraphs, headings, MAYBE some bold or italics – and nothing else.

Leave a Comment Here's Your Chance to Be Heard!

CommentLuv Enabled

Subscribe without commenting