Home > CMS Tutorial > Empire CMS > body text

Summary of methods for sharing the Empire CMS backend fckeditor editor to be compatible with IE10

silencement
Release: 2019-11-30 11:28:34
forward
1874 people have browsed it

Summary of methods for sharing the Empire CMS backend fckeditor editor to be compatible with IE10

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">
Copy after login

Recommended to study "Empire cms tutorial"

Add

below and the code is as follows:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Copy after login

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);
Copy after login

, add after it:

, the code is as follows:

try{B.responseType=&#39;msxml-document&#39;;}catch(e){}
Copy after login

is As follows:

The code is as follows:

B.open("GET",A,false);
try{B.responseType='msxml-document';}
catch(e){}
B.send(null);
Copy after login

(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!

Related labels:
source:www.word666.com/cms/
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!