X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=7184449a54d17d6f865753b2a492df7959121bc1;hp=9b5db1e26d1aa22d6bb50566703c94742d2d3393;hb=fc32d3336ffe6a4ac93549dab21fd04b7d7056d3;hpb=4376aa931cddf22a008a643552f7886cc9efe320 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 9b5db1e26d..7184449a54 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -23320,9 +23320,10 @@ Roo.htmleditor.KeyEnter.prototype = { var pli = range.closest('li'); if (!pc || e.ctrlKey) { // on it list, or ctrl pressed. - if (pc) { + if (!e.ctrlKey) { sel.insertNode('br', 'after'); } else { + // only do this if we have ctrl key.. var br = doc.createElement('br'); br.className = 'clear'; br.setAttribute('style', 'clear:all');