dialog 下面 建立一个 插件.js
CKEDITOR.dialog.add("about", function (a) { var aaa = "<form><input type=‘file‘ /><input type=‘submit‘ /></form>"; a = a.lang.about; var b = CKEDITOR.getUrl(CKEDITOR.plugins.get("about").path + "dialogs/" + (CKEDITOR.env.hidpi ? "hidpi/" : "") + "logo_ckeditor.png"); return { title: "asdfasd", minWidth: 390, minHeight: 230, contents: [{ id: "tab1", label: "dddddddd", title: "aaaaaaaaaa", expand: !0, padding: 0, elements: [{ type: "html", html: aaa }] }], buttons: [CKEDITOR.dialog.cancelButton,CKEDITOR.dialog.okButton] } });
时间: 2024-11-06 07:48:55