Kindeditor and jquery Easyui incompatible issues-don't show and can't edit issues

Source: Internet
Author: User

Kindeditor and Jquery-easyui plugins have conflicting

Browser version:
Chrome Firefox
Kindeditor version:
4.1.7
Bug rendition steps:
1. Join the tabs in Jquery-easyui

Re-text area

<textarea name= "xxxxxxxxxxxxxxxxxxx" style= "width:80px; height:300px; " >KindEditor</textarea>

After adding

var editor1 = kindeditor.create (' textarea[name= "xxxxxxxxxxxxxxxxxxx"] ', {
Allowfilemanager:true
});

The editor will appear but cannot be edited

Switch to HTML format to edit but cut back and report this error.

Uncaught Typeerror:cannot Call method ' getselection ' of undefined

It's like Easyui has this function.

Is it the conflict that caused it?

And if added to the Kindeditor.ready (function (K) {There is no way to go inside

Normal under IE
Expected Result:

Because most companies now use Jquery-easyui to do UI controls

And we're advocating for customers to use Chrome, but because of the editor

Feel kindeditor is very good, so I hope kindeditor can help solve the next

The problem of conflict with Easyui

Workaround:

To dialog after a fight, after the load, that is, the OnOpen event, close the logoff Onopen:function (event, UI) {
Create editor after opening dialog

Kindeditor.create (' #editor_content ', {resizetype:1, Allowfilemanager:true,uploadjson: '. /.. /kindeditor/asp.net/upload_json.ashx ', Filemanagerjson: '. /.. /kindeditor/asp.net/file_manager_json.ashx '});},onbeforeclose:function (event, UI) {//close dialog before removing editor   Kindeditor.remove (' #editor_content ');},


Kindeditor and jquery Easyui incompatible issues-don't show and can't edit issues

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.