X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=b458a1189a502c2fb5152514a5bd819a2322d51e;hp=6d5c6fc8ca4f97a072c3c81ee15e684e7ee2d170;hb=733d90ce65e73af95432e688ae569be47802658c;hpb=75cbc4ce04c9c01ac47671cb01320ce699128d00 diff --git a/roojs-debug.js b/roojs-debug.js index 6d5c6fc8ca..b458a1189a 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -47812,9 +47812,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');