About Kindeditor in JqueryEasyUI

Source: Internet
Author: User

Preface

(F) The use of functions is really good, but it feels too complicated and things are relatively large, not very convenient. It was produced by Baidu, however, after using it, I found that it is still quite useful. I personally feel that it should not be sprayed!

The example is also comprehensive, and the compatibility is also good, you can use it to try to set easyui.

Implementation

((! "KindEditor is not defined! "Opts = $. data (target, 'kindeditor 'editor = $. data (target, 'kindeditor '). options. editor = $. fn. kindeditor = (options = 'string' method = method (options = options |. each (state = $. data (, 'kindeditor '} state = $. data (, 'kindeditor 'options: $. extend ({}, $. fn. kindeditor. defaults, $. fn. kindeditor. parseOptions (create ($. fn. kindeditor. parseOptions = $. fn. kindeditor. methods = editor: $. data (jq [0], 'kindeditor '$. fn. kindeditor. ults = resizeType: 1 allowPreviewEmoticons: allowImageUpload: 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold ', 'italic ', 'underline' 'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', '|', 'emoticons ', 'image', 'link' afterChange: $. parser. plugins. push ("kindeditor"}) (jQuery, KindEditor );

KindEditor

Easyui-kindeditor Editor: EasyUI collection KindEditor settings get kindeditor Editor: KindEditor settings get

                           KindEditor.ready(             editor = K.create('textarea[name="txtContent"]'                 allowFileManager:                  resizeType: 1                 allowPreviewEmoticons:                       'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline'                     'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist'                     'insertunorderedlist', '|', 'emoticons', 'image', 'link'          });

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.