小编use*_*192的帖子

让wmd-editor不发布html?

我有类似下面的代码

<form action="/u" method="post">
<div class="reply">
<input type="hidden" name="type" value="2"/>
<input type="hidden" name="id" value="1"/>
<input type="hidden" name="parentId" value="0"/>
<textarea name="text" style="width: 500px; height: 200px;"></textarea><div class="rhs"><button>Post Comment</button></div></div>
</form>
Run Code Online (Sandbox Code Playgroud)

似乎我不需要编辑器的名称工作,但我需要使用名称,所以我可以发布数据.问题是我没有得到用户输入的文本数据,而是从markdown编辑器生成的html.我如何设置它,以便我得到用户键入的正常原始html?

html javascript asp.net wmd-editor

3
推荐指数
1
解决办法
188
查看次数

标签 统计

asp.net ×1

html ×1

javascript ×1

wmd-editor ×1