6kzz整合ueditor_PHP教程

WBOY
Freigeben: 2016-07-20 11:15:39
Original
792 Leute haben es durchsucht

用过

 

下载下来

就要进行配置了

本文就

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>
Nach dem Login kopieren

然后初始化

<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>


 
Nach dem Login kopieren

如果是文件编辑或者修改

那么在admin.php