ueditor编译器

<script  type= "text/javascript"  charset= "utf-8"  src= "ueditor/ueditor.config.js" ></script>
<script  type= "text/javascript"  charset= "utf-8"  src= "ueditor/ueditor.all.min.js" > </script>
<!-- 建议手动加在语言,避免在 ie 下有时因为加载语言失败导致编辑器加载失败 -->
<!-- 这里加载的语言文件会覆盖你在配置项目里添加的语言类型,比如你在配置项目里配置的是英文,这里加载的中文,那最后就是中文 -->
<script  type= "text/javascript"  charset= "utf-8"  src= "ueditor/lang/zh-cn/zh-cn.js" ></script>
HTML: 
<script  id= "container"  style= " height : 200 px"  name= "content"  type= "text/plain" ></script></div>

JS:
<script>
var  ue =  UE .getEditor( 'container' ) ;

</script>

猜你喜欢

转载自blog.csdn.net/weixin_42087730/article/details/80162905