ueditor,ckeditor简单使用

来源:互联网 发布:centos samba 启用 编辑:程序博客网 时间:2024/06/05 03:22
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>




                                             
0 0
原创粉丝点击