Roo/HtmlEditorCore.js
authorleon <leon@roojs.com>
Mon, 26 Feb 2024 07:46:01 +0000 (15:46 +0800)
committerleon <leon@roojs.com>
Mon, 26 Feb 2024 07:46:01 +0000 (15:46 +0800)
Roo/HtmlEditorCore.js

index 2bc9a99..a998115 100644 (file)
@@ -409,6 +409,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
                             ],
                     attrib_clean : ['href', 'src' ] 
                 });
+                new Roo.htmleditor.FilterEmpty({ node : div});
                 
                 var tidy = new Roo.htmleditor.TidySerializer({
                     inner:  true