The fckeditor editor used by the Imperial CMS background will be incompatible with IE10. This article summarizes the following methods for the Imperial CMS background fckeditor editor to be compatible with IE10:
Method 1. Set the compatibility mode of the browser:
Open IE, click the "Tools" menu, select "Compatibility View Settings", and check the "Show all websites in Compatibility View" option. Can.
Method 2. In the header of the webpage using the editor:
The code is as follows:
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
Recommended to study "Empire cms tutorial"
Add
below and the code is as follows:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Method 3. Modify the JS file of the editor itself:
Modify /editor/js/fckeditorcode_ie in the editor directory .js file, look for
, the code is as follows:
B.open("GET",A,false);
, add after it:
, the code is as follows:
try{B.responseType='msxml-document';}catch(e){}
is As follows:
The code is as follows:
B.open("GET",A,false); try{B.responseType='msxml-document';} catch(e){} B.send(null);
(PS: The Empire CMS backend editor directory is /e/admin/ecmseditor/infoeditor/, and the frontend editor directory is /e/data/ecmseditor/ infoeditor/ )
Readers can use the above three methods according to their actual situation.
The above is the detailed content of Summary of methods for sharing the Empire CMS backend fckeditor editor to be compatible with IE10. For more information, please follow other related articles on the PHP Chinese website!