CKEditor的使用-编辑文本

官网下载以及演示:http://ckeditor.com/

CKEditor的使用-编辑文本

引入js

<script src="/Example6/ckeditor/ckeditor.js"></script>

	<h2>输入文本</h2>
	<form action="/Example6/f" method="post">
		<textarea cols="80" >
			请输入...
		</textarea>
		<script>
			CKEDITOR.replace( 'editor1' );
		</script>
		<p><input type="submit" value="提交"></p>
	</form>

  CKEditor的使用-编辑文本

引入成功后可通过 String str=req.getParameter("editor1");

获取提交后的数据。

下载full版,工具齐全->

->

CKEditor的使用-编辑文本