Want to edit the template HTML source file with CKEditor
After switching from text mode to source mode editing, once the text mode is cut back to the source mode, there will be a lot like
Such an extra character;
I do not know which expert knows how to set the default source code mode?
If you have a better template online editing method also please enlighten!
Reply to discussion (solution)
Want to edit the template HTML source file with CKEditor
After switching from text mode to source mode editing, once the text mode is cut back to the source mode, there will be a lot like
such extra characters;
I do not know which expert knows how to set the default source code mode?
If you have a better template online editing method also please enlighten!
This is FCK automatically generated, is generally not the default HTML source form.
Even if you are the source code editing mode, you will automatically filter when you submit.
In addition & is to express &, if you should not directly delete this "&", if not ", there can be no space between two characters."
Recently also encountered this problem, after testing this situation is due to the source code editing, the codes are not standardized caused by
For example , the labels that should be written in between should be written in the label, which will cause this situation
In order to solve this problem, we must require the code of source editing, and write according to the specification of HTML.
And that's exactly what happened.
I solved it in the following way, and I asked for criticism.
Config.startupmode = ' source ';
Config.toolbar =[];