This plugin defines the Enter key (line breaking) behavior in all contexts. Depending on the configuration, the editor will present the line break in one of the following ways:
- paragraph (
Shift+Enter key behavior can also be defined in a similiar way to accompany the Enter key configuration.
Note: Changing the Enter Mode setting to
DIV is not recommended. The default
CKEDITOR.ENTER_P mode is fully supported by all editor features and plugins and is also the most correct one in terms of best practices for creating web content.
If you want to change it to control paragraph spacing, you should use stylesheets instead.
This is an official plugin provided and supported by CKEditor developers.
The recommended way to install all CKEditor add-ons is to create a custom build by using Online builder. To do that, click the Add to my editor button on the plugin page. When you are done, click the Build my editor button on the right side of the page to go to Online builder.
Note: This add-on is already selected to be a part of your current build.
Add-on installation instructions
If you want to add the plugin manually, you will need to:
- Extract the downloaded plugin
pluginsfolder of your CKEditor installation. Example:
- Enable the plugin by using the
extraPluginsconfiguration setting. Example:
config.extraPlugins = 'enterkey';
- Download and configure all its dependencies, too.
No additional dependencies.