> 백엔드 개발 > PHP 튜토리얼 > 6kzz整合ueditor_PHP教程

6kzz整合ueditor_PHP教程

WBOY
풀어 주다: 2016-07-20 11:15:39
원래의
821명이 탐색했습니다.

用过

 

下载下来

就要进行配置了

本文就

1.仿照

目录的

2.找到调用编辑气的页面,在

在引入编辑器文件的位置引入

同时将引入原来编辑器的

 

<span <!--</span><span   


<script type="text/javascript" src="../inc/kindeditor/kindeditor.js"></script>


</span><span --></span>


 


<span <</span><span script </span><span type</span><span ="text/javascript"</span><span  src</span><span ="../inc/ueditor/ueditor.config.js"</span><span ></</span><span script</span><span ></span>


<span <</span><span script </span><span type</span><span ="text/javascript"</span><span  src</span><span ="../inc/ueditor/ueditor.all.js"</span><span ></</span><span script</span><span ></span>
로그인 후 복사

然后初始化

<span <</span><span script </span><span type</span><span ="text/javascript"</span><span ></span>


    <span //</span><span var editor = new UE.ui.Editor();</span>


    <span //</span><span editor.render("myEditor");</span>


    <span //</span><span 1.2.4以后可以使用一下代码实例化编辑器</span>
<span 

    UE.getEditor(</span><span '</span><span myEditor</span><span '</span><span )


</span><span </</span><span script</span><span ></span>


 
로그인 후 복사

如果是文件编辑或者修改

那么在admin.php