Emblog personal blog Management system background upgrade edit Kindeditor to the latest version detailed steps

Source: Internet
Author: User

Emblog has been using the minimalist version of Kindeditor, recently downloaded

The first step of the official download Download Kindeditor, you can also use my prepared direct download overlay on the line

Http://www.minxtblog.com/content/uploadfile/file/20160912/20160912144408_95359.zip

Second Amendment: admin/views/write.php

Will:

  Loadeditor(' content ');   Loadeditor(' excerpt ');      


Replaced by

VarKE,KEE; Kindeditor.Ready(function(K) {KE=K.Create(' #content ', {Resizetype: 1,Allowfilemanager: True,Cssdata: ' body {font-size:15px;} '  }); KEE = K.  Create(' #excerpt ', { resizetype : 1, allowfilemanager :  true, cssdata : ' body {font-size:15px;} '  });  }); 

Step Three: Modify Admin/views/js/common.js

Line No. 248 changes to

       var= KE.  HTML();    

Modify Line 276,277:

var=KE.  HTML();  var= KEE.  HTML();          

Then modify the upload directory and then you can, modify is amin/editor/php/under the file_manager_json.php, upload_json.php

Final security settings.

Locate the json.php file in the php subfolder of the Editor folder and add it at the beginning:

The purpose of the addition is to prevent unauthorized users from maliciously using the Kindeditor upload feature. So the background refresh a bit.

This tutorial is min Xiao Tian personal blog: www.minxtblog.com Original, reproduced please indicate the source:

Emblog personal blog Management system background upgrade edit Kindeditor to the latest version detailed steps

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: info-contact@alibabacloud.com 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.