Home > Backend Development > PHP Tutorial > dedecms enterprise template dedecms method to prevent FCK from formatting your code randomly

dedecms enterprise template dedecms method to prevent FCK from formatting your code randomly

WBOY
Release: 2016-07-29 08:36:43
Original
922 people have browsed it

By default, FCK turns on the XHTML formatting option. Therefore, when some people use visual editing to change the complete HTML file, the Head part may be changed to look unnatural. The solution is as follows:
Open include/ FCKeditor/fckconfig.js
Find
FCKConfig.EnableXHTML = true; // Unsupported: Do not change.
FCKConfig.EnableSourceXHTML = true; // Unsupported: Do not change.
Change to
FCKConfig. EnableXHTML = false ; // Unsupported : Do not change.
FCKConfig.EnableSourceXHTML = false ; // Unsupported: Do not change.
Then delete the temporary files of your browser and refresh the current page. You will find that you are no longer being pranked by FCK.

The above introduces the modification method of dedecms enterprise template dedecms to prevent FCK from formatting your code randomly, including the content of dedecms enterprise template. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
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