MyFocus: A KindEditor focus chart plug-in

Source: Internet
Author: User

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" ......]








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.