在页面中引入ueditor

前端 thinkphp php ueditor 1900      收藏
介绍如何在页面中引入ueditor、如何使用ueditor

本文主要介绍如何在页面中引入ueditor、如何使用ueditor。

首先下载百度官方出的ueditor插件:http://ueditor.baidu.com/website/download.html

1、在html页面中配置ueditor所在的路径,将ueditor的js文件引入页面中:

自学php博客

2、在页面中定义好需要引入ueditor的位置,并定义好name和id属性。

自学php博客

3、将ueditor引入到要配置的位置

自学php博客