文本编译器ueditor的使用

1.首先下载文本编译器ueditor

首先在ueditor官网下载一个编译器

2.然后再使用的html中引入js文件包

ueditor.config.js

ueditor.all.min.js

zh-cn.js

3. html代码中要有

<textarea id="content" name="content">

</textarea>

 

4. 引入js代码

<script type="text/javascript">
    UE.getEditor('content', {initialFrameWidth:800, initialFrameHeight:400});
</script>

猜你喜欢

转载自blog.csdn.net/dancheng1/article/details/78886971