1.ueditor
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/lib/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/lib/ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script id="editor" type="text" style="width: 550px;height:120px"></script>
<script>var ue = UE.getEditor('editor');</script>
2.ckeditor
<script src="__PUBLIC__/ckeditor/ckeditor.js"></script>
<link rel="stylesheet" href="__PUBLIC__/ckeditor/samples/css/samples.css">
<link rel="stylesheet" href="__PUBLIC__/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css">
<textarea name="content" id="editor1">请输入内容</textarea>
<script>CKEDITOR.replace('editor1');</script>