From fc32d3336ffe6a4ac93549dab21fd04b7d7056d3 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 12 May 2022 11:20:58 +0800 Subject: [PATCH] fix attribute --- Roo/htmleditor/KeyEnter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/htmleditor/KeyEnter.js b/Roo/htmleditor/KeyEnter.js index cf969586b4..db13d3f4b8 100644 --- a/Roo/htmleditor/KeyEnter.js +++ b/Roo/htmleditor/KeyEnter.js @@ -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'); } -- 2.39.2