Weaving dream CMS has a lot of features are more useful, but there are a lot of small problems is a headache, every upgrade how to feel is more trouble? dedecms5.7 Editor believe let a lot of people depressed unceasingly, take carriage return after IS
Instead of
This, it is very cost to everyone's mind, because of the people's browsing habits, generally speaking, we are a paragraph between paragraphs, usually the code is
, but the new 5.7 returns
, this is not what we want, today to solve this problem for everyone.
Found: Installation directory \include\ckeditor\config.js
false ; config. entermode = CKEditor. enter_br;config. Shiftentermode = CKEditor. enter_p;
Replace the second and third lines above.
false ; config. entermode = CKEditor. enter_p;config. Shiftentermode = CKEditor. ENTER_BP;
Or you can comment out the code below.
// config.autoparagraph = false;? // Config.entermode = CKEditor. enter_p;? // Config.shiftentermode = CKEditor. enter_bp;??
The above describes the solution Dedecms57 editor return is BR instead of p, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.