diff --git a/modules/editor/skins/ckeditor/editor.html b/modules/editor/skins/ckeditor/editor.html index 82c7fcb4e..640b9a7e5 100644 --- a/modules/editor/skins/ckeditor/editor.html +++ b/modules/editor/skins/ckeditor/editor.html @@ -106,7 +106,12 @@ var auto_saved_msg = "{$lang->msg_auto_saved}"; enableToolbar: true, content_field: jQuery('[name={$editor_content_key_name}]') }; - + + if (navigator.userAgent.match(/i(OS|Phone|Pad)/)) { + settings.ckeconfig.enterMode = CKEDITOR.ENTER_BR; + settings.ckeconfig.shiftEnterMode = CKEDITOR.ENTER_P; + } + {@ $xe_component = array(); }