CKEditorControl EnterMode Property Kentico 8.1 API Reference
Sets the behavior for the ENTER key. It also dictates other behavior rules in the editor, like whether the br element is to be used as a paragraph separator when indenting text. The allowed values are the following constants, and their relative behavior: * CKEDITOR.ENTER_P (1): new p paragraphs are created; (EnterMode.P) * CKEDITOR.ENTER_BR (2): lines are broken with br elements; (EnterMode.BR) * CKEDITOR.ENTER_DIV (3): new div blocks are created. (EnterMode.DIV) Note: It's recommended to use the CKEDITOR.ENTER_P value because of its semantic value and correctness. The editor is optimized for this value. Default value: CKEDITOR.ENTER_P

Namespace: CMS.CKEditor
Assembly: CMS.CKEditor (in CMS.CKEditor.dll) Version: 8.0.0.0 (8.1.5347.20411)

Property Value

Type: EnterMode
See Also