同一页面上的多个wmd textareas [英] multiple wmd textareas on the same page

查看:110
本文介绍了同一页面上的多个wmd textareas的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为我的网站使用wmd markdown文本编辑器.我的页面上有两个textareas,两个都需要wmd编辑器.默认情况下,它仅将其分配给第一个纹理区域,但是如何将其应用于两个文本区域?

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?

此外,我总是在由wmd保存的标记文本的末尾获得额外的新行.我该如何预防 那?

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?

谢谢!

推荐答案

检查我的版本.它在同一页面上有多个实例.

check my version. It has multiple instances on the same page.

这篇关于同一页面上的多个wmd textareas的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆