Recently in the Web site, found ewebeditor online text editor does not support IE9, click the button in the editor did not respond, before the site published a "solution IE8 does not support the Ewebeditor online text editor method", but seemingly in the IE9 method is ineffective, Found an end-level solution on the Internet, to share with you.
First find the directory where the Ewebeditor editor is located, then search the Editor.js file and open it with a text editor, and then locate the Btnmouseup () function, replacing the function code with the following code:
Copy Code code as follows:
function Btnmouseup () {
if (event.srcElement.tagName!= "IMG") {
Event.cancelbubble = true;
return false;
}
var image = Event.srcelement;
var element = Image.parentelement;
try{
if (element. Yuseronclick) eval (element. Yuseronclick + "anonymous ()");
}
catch (e) {
if (element. Yuseronclick) eval (element. Yuseronclick + "onclick (event)");
}
Element.classname = "Btnmouseoverup";
Image.classname = "Ico";
Event.cancelbubble = true;
return false;
}
Description: The blue part of the above code is a ewebeditor online text editor compatible with IE9IE8 core code, you can also replace the Btnmouseup () function in accordance with the actual code.
Tip: If your ewebeditor online text editor version is too old, under IE9 can not open the Ewebeditor interface, you could be set in the IE9 browser compatibility mode, the normal use of IE9 in the Ewebeditor.