multiple wmd textareas on the same page

僤鯓⒐⒋嵵緔 提交于 2019-12-11 05:59:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!