A New Comment Editor

Posted on April 22, 2009  |  Category: Articles

commentpreview 200x174 A New Comment EditorI have had some requests to figure out a way that visitors of bavotasan.com could leave code and simple styling in their comments. I searched and searched and tried many different things but none seemed to work that great. I knew I needed a WYSIWYG editor of some sort but the few I came across didn’t really do what I wanted. I was going to try to create one myself but I have been a bit too busy lately to take that on.

Luckily I stumbled upon the WMD editor and the WordPress plugin created by Chad Coleman. Though, WMD claims not to be a WYSIWYG editor but a WYSIWYM editor, it pretty much does the same thing.

According to the website, WYSIWYM means What You See Is What You Mean.

“WMD produces clean semantic HTML, leaving presentation details like fonts and colors up to style sheets. But you’re not left in the dark about cosmetics; as you type, WMD’s live preview shows you exactly what your text will look like after the current styles have been applied.”

So far, I like the way it works, and the live preview it great.

You can check out a demo of how it works below in the comments section.


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , ,

Short URL: http://bavotasan.com/?p=547

8 Responses to “A New Comment Editor”

  1. That’s pretty cool Chris! Thanks … hehehe, look at me, I’m leaving code!

    if($mycomment == 'awesome') {follow();} else {stayhere();}

    #2073
  2. Checking out this comment editor. It looks pretty sweet! I probably will add this to MyInkBlog

    #2076
  3. Looks good, I think I may try this editor. Thanks

    #2257
  4. i like this plugin,
    i will try this nice editor.
    thanks.

    #2362
  5. pat

    This form works bad with IE8

    #3978
  6. cool comment editor, thanks for the link man. gotta try that out

    #4666
  7. can you help me out with this one please?

    #7389

Leave a Reply

To enter code in the comment box, please place it between <pre lang="php"> </pre> tags. You don't have to convert any characters to their hex/HTML code. Just add your code the way you would to any code editor.