includes/clientside/tinymce/plugins/safari/editor_plugin_src.js
changeset 459 31c23016ab62
parent 395 fa4c5ecb7c9a
child 476 f26a69c40431
--- a/includes/clientside/tinymce/plugins/safari/editor_plugin_src.js	Fri Feb 22 12:51:53 2008 -0500
+++ b/includes/clientside/tinymce/plugins/safari/editor_plugin_src.js	Sun Feb 24 12:50:52 2008 -0500
@@ -45,7 +45,7 @@
 
 			// Workaround for missing shift+enter support, http://bugs.webkit.org/show_bug.cgi?id=16973
 			ed.onKeyPress.add(function(ed, e) {
-				if (e.keyCode == 13 && e.shiftKey) {
+				if (e.keyCode == 13 && (e.shiftKey || ed.settings.force_br_newlines && ed.selection.getNode().nodeName != 'LI')) {
 					t._insertBR(ed);
 					Event.cancel(e);
 				}