在页面上添加丰富的textarea编辑器,其中包含粗体,斜体,对齐等常用按钮

时间:2014-08-26 10:53:04

标签: css vb.net html5

请帮助我尝试在我的网页上添加一个富文本区域,我该怎么办呢。 我还没有尝试过任何东西

3 个答案:

答案 0 :(得分:2)

相反所有这些事情只需在html中添加三行

<textarea></textarea>
<script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"></script>
<script type="text/javascript">bkLib.onDomLoaded(nicEditors.allTextAreas);</script>

你将把textarea作为可编辑的。

如果有帮助,请投票给我答案

答案 1 :(得分:0)

正常的html?:)

Rich text editor replacement for html textarea

更多信息你想做什么会有所帮助......

答案 2 :(得分:0)

根据您在网页中可以使用的内容, 试试这个javascript页面(没有jquery)
http://dhtmlx.com/docs/products/dhtmlxEditor/


或者如果你使用jquery,还有更多的选择,其中一个是
markItUp - http://markitup.jaysalvat.com/home/