KyleRombach / wmd-new

Automatically exported from code.google.com/p/wmd-new
0 stars 0 forks source link

Feature requests: output format and textarea id as options #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I use wmd-new in my project where wmd-new is a replacement for original
wmd. I use it although I had to do some hacks to make it work. These hacks
are my feature requests for next version of wmd-new, which is going to have
options implemented:

1. "Output" option like in original wmd - I need to have output in markdown.
2. Textarea name - when my form is automatically generated I don't like to
change id of textarea field. It's better to have an option like
"textarea_id" in wmd.

Original issue reported on code.google.com by restless...@gmail.com on 9 Feb 2009 at 9:02

GoogleCodeExporter commented 8 years ago
I'm in the process of making the newest version of WMD work the way the old one 
did
for startup.  All the old wmd_options will work.  I'll also use CSS class 
identifiers
instead of ids to pick out the WMD elements.

Look for it mid to late February 2009.

Original comment by Dana.E.R...@gmail.com on 10 Feb 2009 at 8:19

GoogleCodeExporter commented 8 years ago
As far as item 1 I just added an onclick event to the submit button that grabs 
the
textbox content before wmd has a chance to convert it. I toss it in a hidden 
field
and get it that way. Certainly not ideal but it works for now. :)

Original comment by SSRup...@gmail.com on 25 Jul 2009 at 6:01

GoogleCodeExporter commented 8 years ago
Line 2410 - just change the default output.
Attacklab.wmd_defaults = { version: 1, output: "Markdown", lineLength: 40, 
delayLoad: false };

Original comment by b...@planetcloud.co.uk on 2 Aug 2011 at 2:05