Carriage Return Setting

University of Wisconsin Green Bay asked on October 28, 2014 17:26

Kentico is backwards from most other systems in that the editor creates line breaks by default instead of new paragraphs when the enter key is pressed. If someone wants a a carriage return (or a
tag) they should press SHIFT+ENTER, this is the industry standard.

I was informed that a core file needed to be modified in order to achieve this and that the change would need to be made after each upgrade. This is not an appropriate solution. Please add a setting in site settings so this can be managed properly.

Correct Answer

Brenden Kehren answered on October 28, 2014 20:31

In /CMSAdminControls/CKeditor/config.js, simply modify the config.enterMode and set it's value to CKEDITOR.ENTER_P. Yes it is a core file although if you document your change you will be able to perform you upgrade without issue but yes, you will need to merge your changes if any are available in newer versions of that file.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.