How does CKeditor edit template files (default source code mode )?

Source: Internet
Author: User
How does CKeditor edit template files (default source code mode )? You want to use Ckeditor to edit the template html source file
After switching from the text mode to the source code mode, once the text mode is switched back to the source code mode, many

Such redundant characters;
Who knows how to set the default source code mode?
If you have better online template editing methods, please do not hesitate to give me some advice!


Reply to discussion (solution)

You want to use Ckeditor to edit the template html source file
After switching from the text mode to the source code mode, once the text mode is switched back to the source code mode, many

& Nbsp; such redundant characters;
Who knows how to set the default source code mode?
If you have better online template editing methods, please do not hesitate to give me some advice!

This is automatically generated by FCK, which is generally not in the form of HTML source code by default.
Even if you are in the source code editing mode, it will be automatically filtered during submission.
In addition, & indicates &. if not, you should delete this "&" directly. if not, there cannot be spaces between the two words.

This problem has also been encountered recently. after testing, this problem is caused by the nonstandard code during source code editing.
For example , This will happen when the labels that should be written between them are written into the labels.
To solve this problem, you must standardize the code when editing the source code and compile it according to the html specification.

This problem happened.
I used the following method to solve the problem and ask for criticism.
Config. startupMode = 'source ';
Config. toolbar = [];

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.