1.基础Demo
1)代码
![clipboard[16] clipboard[16]](http://s1.VeVb.com/20150728/o5bnhm2tjjp.png)
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>ueditor demo</title>
</head>
<body>
<!-- 加载编辑器的容器 -->
<script id="container" name="content" type="text/plain">
这里写你的初始化内容
</script>
<!-- 配置文件 -->
<script type="text/javascript" src="ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/Javascript" src="ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
var ue = UE.getEditor('container');
</script>
</body>
</html>
2)效果
![clipboard[17] clipboard[17]](http://s1.VeVb.com/20150728/q4alo2revgk.png)
2.获取和设置
1)基础Dome
![clipboard[18] clipboard[18]](http://s1.VeVb.com/20150728/kalixz4fwzx.png)
说明:1.如果读取设置的代码写在js的load事件里了,就不需要ready了吧。
新闻热点
疑难解答