JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2.1
[ckeditor.git] / _source / core / config.js
index d83e0e3..c53892d 100644 (file)
@@ -130,6 +130,18 @@ CKEDITOR.config =
        enterMode : CKEDITOR.ENTER_P,\r
 \r
        /**\r
+        * Force the respect of {@link CKEDITOR.config.enterMode} as line break regardless of the context,\r
+        * E.g. If {@link CKEDITOR.config.enterMode} is set to {@link CKEDITOR.ENTER_P},\r
+        * press enter key inside a 'div' will create a new paragraph with 'p' instead of 'div'.\r
+        * @since 3.2.1\r
+        * @default false\r
+        * @example\r
+        * // Not recommended.\r
+        * config.forceEnterMode = true;\r
+        */\r
+       forceEnterMode : false,\r
+\r
+       /**\r
         * Just like the {@link CKEDITOR.config.enterMode} setting, it defines the behavior for the SHIFT+ENTER key.\r
         * The allowed values are the following constants, and their relative\r
         * behavior:\r