Easyui use Kindeditor 4.1.10 in Windows to not echo in IE9 and get focus editing issues

Source: Internet
Author: User

Description: kindeditor4.1.10 version is the latest version, in terms of browser compatibility and features are worth a praise, in the development of a quick and easy to meet some development needs.

Problem: There are always problems. In the process of use, when you encounter Easyui in the Windows window to use the Kindeditor edit box, click Open, in IE9 can not echo (Modify function), get focus editing.

Other IE versions, Firefox, Chrome and other popular browsers are no problem.

Cause: After the tracking debugging test, the initial understanding of the problem is that the page Easyui and Kindeditor style loading order is inconsistent, the corresponding ID selector does not correctly match to the correct page properties.

Problem Resolution inspiration comes from the official case page http://kindeditor.net/ke4/examples/dynamic-load.html

How to resolve:

//Resolve IE9 cannot be edited

var editor; $ (' #I '). Window ({onOpen:function() {editor= Kindeditor.create (' #groupinforemark ', {resizetype:1, Allowpreviewemoticons:false, Allowimageupload:false, MinWidth:500, items: [' FontName ', ' fontsize ', ' | ', ' forecolor ', ' hilitecolor ', ' bold ', ' italic ', ' underline ', ' Removeformat ', ' | ', ' justifyleft ', ' justifycenter ', ' justifyright ', ' insertorderedlist ', ' Insertunorderedlist ', ' | ', ' emoticons ', ' image ', ' link '] }); }, Onbeforeclose:function () { //Close dialog before removing the editorKindeditor.remove (' #groupinforemark '); } });

When the corresponding window window opens, we initialize the Kindeditor control, display it, and remove it when it is closed.

Problem solving.

Easyui use Kindeditor 4.1.10 in Windows to not echo in IE9 and get focus editing 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.