Download this plug-in and place the decompressed my_focus folder under the KindEditor plug-in directory (the directory where KindEditor is located/plugins/), for example, H: \ webprobject \ yzj \ kindeditor \ plugins \ my_focus \
Load the ke-plugins-myfocus.js file under the plug-in my_focus directory in the page you use the kindEditor Editor, as shown in: <script language = "javascript" type = "text/javascript" src = "kindeditor/plugins/my_focus/ke-plugins-myfocus.js"> </script>
Copy codeThe Code is as follows: // call basic settings
// Set the myFocusPath library file address, required
KE. myFocusPath = "/yzj/myFocus/myfocus-1.2.0.full.js"
KE. show ({
.......
// Specify the FileManager plug-in that can be used by KindEditor.
AllowFileManager: true,
/*
* Set the CSS file to be introduced in the editor.
* You can also copy the contents in the plugins/my_focus/editor.css file to the skins/common/editor.css file, and copy plugins/my_focus/myfocus.png to the skins/common/folder.
* This attribute does not need to be set.
*/
CssPath: [KE. scriptPath + "skins/common/editor.css", KE. scriptPath + "plugins/my_focus/editor.css"],
// Use the myfocus plug-in the editor
Items: ["myfocus" ......]
........
});
Plug-ins