码迷,mamicode.com
首页 > 其他好文 > 详细

百度Ueditor编辑器的使用

时间:2015-09-28 13:13:06      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

百度Ueditor编辑器  开发版  PHP

在thinkphp中的Index/index.html文件代码:

 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html lang="en">
 3 <head>
 4     <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 5     <title>Document</title>
 6     <script type="text/javascript">
 7     window.UMEDITOR_HOME_URL = __ROOT__/ueditor_release-ueditor1_4_3_1-utf8-php/utf8-php/;
 8     window.onload = function(){
 9         UE.getEditor(content);
10     }
11     </script>
12     <load  href="__ROOT__/ueditor_release-ueditor1_4_3_1-utf8-php/utf8-php/ueditor.config.js" />
13     <load  href="__ROOT__/ueditor_release-ueditor1_4_3_1-utf8-php/utf8-php/ueditor.all.min.js" />
14 </head>
15 <body>
16     <textarea name="content"  id="content"></textarea>
17 </body>
18 </html>

 

百度Ueditor编辑器的使用

标签:

原文地址:http://www.cnblogs.com/houmin0036/p/4843638.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!