生成唯一编号 function init(editor){ return { title:editor.lang.image["title"],minWidth:420,minHeight:360,onShow:function(){ var selectedImg=editor.getSelectedHtml();var imgSrc=$(selectedImg["$"].firstChild).attr("src");var...
插件编写流程和实例代码 1)在plugins目录新建文件夹apage,在apage下新建文件:plugin.js 内容如下:CKEDITOR.plugins.add(‘apage’,{ init:function(editor){/Add the link and unlink buttons.editor.addCommand(‘apage’,new CKEDITOR...