Minor request here:

I would like to switch the Enter and Shift+Enter option for a new line inside CKEditor.

When a user now presses enter on the end of a line, this is translated in a new paragraph

When a user uses shift+enter, this is translated in a new line
.
Can these 2 be switched?

I tried to code them in CKEditor files, but I realized that after every core update I would need to change it again.
That is not a very practical way.

Is it possible to add a checkbox for this in the "Text formats and editors" page, like under Full HTML / Basic HTML?

Comments

VBN created an issue. See original summary.

Wim Leers’s picture

Category: Feature request » Support request
Status: Active » Fixed

Thanks for taking the time to report this!

However, why would you want to switch this? This is the default behavior on many (if not all?) operating systems.

Adding a new checkbox to do this would make the UI more complex for everybody, yet it'd only be used by a tiny number of users. So that's not a good fit for this, unfortunately.

Finally, you can customize CKEditor settings (CKEditor.config) per text format using hook_editor_js_settings_alter().

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.