Roo/htmleditor/FilterParagraph.js
authorleon <leon@roojs.com>
Thu, 30 Nov 2023 03:57:06 +0000 (11:57 +0800)
committerleon <leon@roojs.com>
Thu, 30 Nov 2023 03:57:06 +0000 (11:57 +0800)
Roo/htmleditor/FilterParagraph.js

index 1f9254d..988a5a4 100644 (file)
@@ -36,7 +36,7 @@ Roo.extend(Roo.htmleditor.FilterParagraph, Roo.htmleditor.Filter,
         for (var i = 0; i < ar.length; i++) {
             // node.removeChild(ar[i]);
             // what if we need to walk these???
-            // node.parentNode.insertBefore(ar[i], node);
+            node.parentNode.insertBefore(ar[i], node);
         }
         // now what about this?
         // <p> &nbsp; </p>