editor编辑器
输出对应的编辑器变量便可获得这些信息,如,本网站的变量问editor,
获取编辑器对应的对象
指向“http://www.hyx.com/public/back/js/jquery2.0.3.min.js”的 <script> 加载失败。 index.php:24 {…} _calledPlugins: Object { } _contextmenus: Array(30) [ {…}, {…}, {…}, … ] _docMousedownFn: function _docMousedownFn() _firstAddBookmark: false _handlers: Object { afterSetHtml: (1) […], afterCreate: (10) […], clickToolbarsource: (1) […], … } _redoStack: Array [] _scrollPos: Object { x: 0, y: 212 } _undoStack: Array [ {…} ] allowFileManager: true basePath: "http://www.hyx.com/Views/kindeditor-4.1.7/" bodyClass: "ke-content" cmd: Object { doc: HTMLDocument http://www.hyx.com/index.php?c=manual&a=index&file=php, win: Window, sel: Selection, … } colorTable: Array(4) [ (6) […], (6) […], (6) […], … ] container: Object { length: 1, name: "div", type: 1, … } contextmenu: null cssData: "" cssPath: "" designMode: true dialogAlignType: "page" dialogs: Array [] edit: Object { name: "", doc: HTMLDocument http://www.hyx.com/index.php?c=manual&a=index&file=php, height: "280px", … } extraFileUploadParams: Object { sessionid: "" } filterMode: true fontSizeTable: Array(8) [ "9px", "10px", "12px", … ] fullscreenMode: false fullscreenShortcut: false height: "280px" htmlTags: Object { font: (6) […], span: (12) […], div: (17) […], … } indentChar: "\t" initContent: "" isCreated: true isLoading: false items: Array(59) [ "source", "|", "undo", … ] langPath: "http://www.hyx.com/Views/kindeditor-4.1.7/lang/" langType: "zh_CN" layout: "<div class=\"container\"><div class=\"toolbar\"></div><div class=\"edit\"></div><div class=\"statusbar\"></div></div>" loadStyleMode: true menu: null minChangeSize: 50 minHeight: 100 minWidth: 650 newlineTag: "p" noDisableItems: Array [ "source", "fullscreen" ] options: Object { allowFileManager: true, width: "800px", height: "280px", … } pasteType: 2 plugin: Object { getSelectedLink: getSelectedLink(), getSelectedImage: getSelectedImage(), getSelectedFlash: getSelectedFlash(), … } pluginsPath: "http://www.hyx.com/Views/kindeditor-4.1.7/plugins/" resizeType: 2 shadowMode: true srcElement: Object { length: 1, name: "textarea", type: 1, … } statusbar: Object { length: 1, name: "div", type: 1, … } syncType: "form" themeType: "default" themesPath: "http://www.hyx.com/Views/kindeditor-4.1.7/themes/" toolbar: Object { name: "", doc: HTMLDocument http://www.hyx.com/index.php?c=manual&a=index&file=php, win: Window, … } urlType: "" useContextmenu: true wellFormatMode: true width: "800px" zIndex: 811213 <prototype>: Object { lang: lang(), loadPlugin: loadPlugin(), handler: handler(), … }
内部函数
addBookmark: function addBookmark() addContextmenu: function addContextmenu() afterCreate: function afterCreate() afterSetHtml: function afterSetHtml() appendHtml: function appendHtml() beforeGetHtml: function beforeGetHtml() beforeRemove: function beforeRemove() beforeSetHtml: function beforeSetHtml() blur: function blur() clickToolbar: function clickToolbar() count: function count() create: function create() createDialog: function createDialog() createMenu: function createMenu() errorDialog: function errorDialog() exec: function exec() focus: function focus() fullHtml: function fullHtml() fullscreen: function fullscreen() handler: function handler() hideContextmenu: function hideContextmenu() hideDialog: function hideDialog() hideMenu: function hideMenu() html: function html() insertHtml: function insertHtml() isDirty: function isDirty() isEmpty: function isEmpty() lang: function lang() loadPlugin: function loadPlugin() readonly: function readonly() redo: function redo() remove: function remove() resize: function resize() select: function select() selectedHtml: function selectedHtml() sync: function sync() text: function text() undo: function undo() updateState: function updateState() <prototype>: Object { … }