问题
I'm trying to use the wmd markdown text editor for my site. I have two textareas on my page and I need the wmd editor for both. By default, it assigned it only to the first texarea, but how do I apply it to both textareas?
Also, I always get an extra new line at the end of my markedup text that was saved by wmd. How can I prevent that?
Thanks!
回答1:
check my version. It has multiple instances on the same page.
来源:https://stackoverflow.com/questions/1218443/multiple-wmd-textareas-on-the-same-page