X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=04f94434e80d6f01b3168507eb0897bb917318ec;hp=9b5db1e26d1aa22d6bb50566703c94742d2d3393;hb=456d56f8dd548af35fe42dd47d66423d1b98805b;hpb=4376aa931cddf22a008a643552f7886cc9efe320 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 9b5db1e26d..04f94434e8 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -23320,12 +23320,13 @@ 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'); + br.setAttribute('style', 'clear: both'); sel.insertNode(br, 'after'); } @@ -23692,9 +23693,11 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { store : { xtype : 'SimpleStore', data : [ - ['50%'], + ['100%'], ['80%'], - ['100%'] + ['50%'], + ['20%'], + ['10%'] ], fields : [ 'val'], xns : Roo.data