ECSHOP换KindEditor编辑器
ECSHOP一直用的FCK,这个不解释,太多杯具太多纠结。
————————————————————–
KindEdito主要特点
快速:体积小,加载速度快
开源:开放源代码,高水平,高品质
底层:内置自定义 DOM 类库,精确操作 DOM
扩展:基于插件的设计,所有功能都是插件,可根据需求增减功能
风格:修改编辑器风格非常容易,只需修改一个 CSS 文件
兼容:支持大部分主流浏览器,比如 IE、Firefox、Safari、Chrome、Opera
—————————————————————
官方下载最新版,解压直接扔在根目录算了,现在拿编辑产品信息开刀,模板页面?这个不用说了吧(admin/templates/goods_info.html).
1.在head部分添加:
<script charset=”utf-8″ src=”../kindeditor/kindeditor.js”></script>
<script>
KE.show({
id : ‘editor_id’,
allowFileManager : true
});
</script>
2.修改产品描述所调用的FCK编辑器 {$FCKeditor} 为
<textarea id=”editor_id” name=”goods_desc” style=”width:90%;height:300px;”>
{$goods.goods_desc}
</textarea>
Tags: ECSHOP编辑器 KindEditor


I feel so much happier now I udnesrtand all this. Thanks!
Arictles like this make life so much simpler.
Keep it coming, wirters, this is good stuff.
WwGwxQ qdunwedoiyux