views:

282

answers:

2

I am looking for something very simlar to the SO WMD markdown editor that is extremely lightweight but I would like the text area to display the "preview" as you type. I have looked into many Rich editors but they are all seem to do everything under the sun. All I really want is Bold, Italic, Link, Image, and Lists (ordered/unordered).

+2  A: 

The most lightweight way to go would be to roll your own. The simplest way to do it would be to use Javascript to react to changes to a <textarea>, and then update a <div> underneath it with the Markdown translated. A good Markdown implementation in Javascript is Showdown.

Justin Poliey
In my descrption i call out that i do not want a seperate div I it to function much like FCKeditor but with 80% less weight
Matthew M. Osborn
My apologies, from the description it looked like you wanted something like Stack Overflow's, where the textarea shows the markdown and the div shows the preview. Here's a nice FCKeditor clone, which is supposedly lightweight: http://tinymce.moxiecode.com/examples/simple.php Not that I use it or anything.
Justin Poliey
Yea, i had seen that one through verious google searches, That is currently the main continder thanks!
Matthew M. Osborn
A: 

I'm a big fan of FCKeditor.

This HTML text editor brings to the web much of the power of desktop editors like MS Word. It's lightweight and doesn't require any kind of installation on the client computer.

http://www.fckeditor.net/

YetAnotherDeveloper
FCKeditor does want i want but required a lot of config to get a simple UI. I want the look of SO WMD but features of FCKeditor
Matthew M. Osborn
did you check out the toolbar options? check this out.http://www.fckeditor.net/demo/toolbar?toolbar=Basic
YetAnotherDeveloper
supports skins too. http://www.fckeditor.net/demo/skins?skin=office2003
YetAnotherDeveloper
Yea i was hoping there was just something out there were i didn't have to do much work to configure it :) what can i say im a programmer im lazy :)
Matthew M. Osborn