Click or drag to resize
CKEditorControlEnterMode Property
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.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
public EnterMode EnterMode { get; set; }

Property Value

Type: EnterMode
See Also