myFocus 一个KindEditor的焦点图插件

时间:2023-11-09 03:56:09 

下载此插件 并将其解压后的my_focus文件夹安放在KindEditor插件目录下(KindEditor所在目录/plugins/)如:H:\webprobject\yzj\kindeditor\plugins\my_focus\
在你使用kindEditor编辑器的页面中加载 插件my_focus目录下的ke-plugins-myfocus.js文件如:<script language="javascript" type="text/javascript" src="kindeditor/plugins/my_focus/ke-plugins-myfocus.js"></script>


//调用基本设置
//设置myFocusPath库文件地址,必须的
KE.myFocusPath = "/yzj/myFocus/myfocus-1.2.0.full.js"
KE.show({
.......
//指定可以使用KindEditor提供的FileManager插件
allowFileManager : true,
/*
* 这里设置编辑器中要引入的CSS文件。
* 也可以将plugins/my_focus/editor.css这个文件里的内容复制到skins/common/editor.css下面,并将plugins/my_focus/myfocus.png 复制到skins/common/文件夹下面
* 这样这个属性就可不必设置
*/
cssPath : [KE.scriptPath+"skins/common/editor.css",KE.scriptPath+"plugins/my_focus/editor.css"],
//在编辑器中使用myfocus插件
items : ["myfocus".......]
........
});


插件截图

myFocus 一个KindEditor的焦点图插件

myFocus 一个KindEditor的焦点图插件

myFocus 一个KindEditor的焦点图插件

 myFocus 一个KindEditor的焦点图插件

 myFocus 一个KindEditor的焦点图插件

标签:myFocus,焦点图
0
投稿

猜你喜欢

  • python错误提示:Errno 2] No such file or directory的解决方法

    2022-03-30 10:46:26
  • 安装Mysql5.7.10 winx64出现的几个问题汇总

    2024-01-28 13:16:04
  • 存储过程配合UpdateDaset方法批量插入Dataset数据实现代码

    2024-01-25 12:29:59
  • Python之lxml安装失败的解决

    2023-11-27 04:34:22
  • python爬虫之request模块深入讲解

    2021-09-21 00:35:51
  • Python range、enumerate和zip函数用法详解

    2021-06-29 22:24:06
  • Python Matplotlib中使用plt.savefig存储图片的方法举例

    2021-11-19 14:08:55
  • 讲解数据库管理系统必须提供的基本服务

    2009-01-04 14:33:00
  • python中的np.argmax() 返回最大值索引号

    2022-08-07 14:22:57
  • ORCAL 临时创建表与删除表

    2023-07-12 19:30:05
  • Python Django切换MySQL数据库实例详解

    2024-01-21 02:02:47
  • Python 字符串与数字输出方法

    2021-09-01 09:01:59
  • Mysql临时表及分区表区别详解

    2024-01-23 16:28:00
  • python接口自动化使用requests库发送http请求

    2023-08-02 02:04:37
  • 使用Python的Django框架结合jQuery实现AJAX购物车页面

    2023-05-21 01:59:28
  • Python之is与==的区别详解

    2021-08-23 21:00:04
  • Python实现softmax反向传播的示例代码

    2021-02-24 10:54:02
  • Pycharm 解决自动格式化冲突的设置操作

    2021-06-14 15:05:31
  • 利用ASP远程注册DLL的方法

    2008-03-05 13:00:00
  • python神经网络编程实现手写数字识别

    2021-08-31 16:08:14
  • asp之家 网络编程 m.aspxhome.com