fix attribute
authorAlan <alan@roojs.com>
Thu, 12 May 2022 03:20:58 +0000 (11:20 +0800)
committerAlan <alan@roojs.com>
Thu, 12 May 2022 03:20:58 +0000 (11:20 +0800)
Roo/htmleditor/KeyEnter.js

index cf96958..db13d3f 100644 (file)
@@ -51,7 +51,7 @@ Roo.htmleditor.KeyEnter.prototype = {
                 // 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'); 
             }