Changeset 5286
- Timestamp:
- 03/24/10 17:21:21 (3 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 3 edited
-
CHANGES.html (modified) (1 diff)
-
_source/core/config.js (modified) (2 diffs)
-
_source/plugins/enterkey/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r5285 r5286 47 47 Now the configuration entry is named 'config.stylesSet' instead of config.stylesCombo_stylesSet and the default location 48 48 is under the 'styles' plugin instead of 'stylescombo'.</li> 49 <li><a href="http://dev.fckeditor.net/ticket/5302">#5302</a> : Adding config option 'CKEDITOR.config.forceEnterMode'.</li> 49 50 </ul> 50 51 <p> -
CKEditor/trunk/_source/core/config.js
r5206 r5286 1 /*1 /* 2 2 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license … … 131 131 132 132 /** 133 * Force the respect of {@link CKEDITOR.config.enterMode} as line break regardless of the context, 134 * E.g. If {@link CKEDITOR.config.enterMode} is set to {@link CKEDITOR.ENTER_P}, 135 * press enter key inside a 'div' will create a new paragraph with 'p' instead of 'div'. 136 * @since 3.2.1 137 * @default false 138 * @example 139 * // Not recommended. 140 * config.forceEnterMode = true; 141 */ 142 forceEnterMode : false, 143 144 /** 133 145 * Just like the {@link CKEDITOR.config.enterMode} setting, it defines the behavior for the SHIFT+ENTER key. 134 146 * The allowed values are the following constants, and their relative -
CKEditor/trunk/_source/plugins/enterkey/plugin.js
r5252 r5286 292 292 function enter( editor, mode, forceMode ) 293 293 { 294 forceMode = editor.config.forceEnterMode || forceMode; 295 294 296 // Only effective within document. 295 297 if ( editor.mode != 'wysiwyg' )
Note: See TracChangeset
for help on using the changeset viewer.
