News for hackers. Stuff that matters.
Re:Online Rich Text Editors built using jQuery by megamark16 on Tuesday June 01, 2010 @10:14AM (#1395070)
I've had a heck of a time finding a decent markdown editor to implement into my current project. I don't want it to spit out HTML, I want markdown. But I want a WYSIWYG editor, not just a bunch of markdown shortcut buttons. Any suggestions?
Re:Online Rich Text Editors built using jQuery by jules on Tuesday June 01, 2010 @01:34PM (#1395580)
If you want a WYSIWG editor, why would the storage format matter?

I think your best bet is writing a HTML-to-markdown converter.

Re:Online Rich Text Editors built using jQuery by megamark16 on Tuesday June 01, 2010 @03:14PM (#1395871)
Well because I don't want to have to worry about trusting the html coming from the editor. I probably will have to go the converter route sigh.
Re:Online Rich Text Editors built using jQuery by jules on Tuesday June 01, 2010 @09:21PM (#1396699)
If that's your concern then going for a HTML sanitizer is the better route. The language/framework you're using probably already has one.