Roo/htmleditor/FilterHashLink.js
authorleon <leon@roojs.com>
Mon, 20 Nov 2023 05:09:38 +0000 (13:09 +0800)
committerleon <leon@roojs.com>
Mon, 20 Nov 2023 05:09:38 +0000 (13:09 +0800)
roojs-bootstrap.js
roojs-bootstrap-debug.js

Roo/htmleditor/FilterHashLink.js
roojs-bootstrap-debug.js
roojs-bootstrap.js

index 8eb98fb..b476aae 100644 (file)
@@ -27,7 +27,7 @@
              if(a.name.toLowerCase() == 'href' && a.value.startsWith('#')) {
                  Roo.log('REMOVE NODE KEEP CHILDREN');
                  Roo.log(node);
-                 this.removeNodeKeepChildren(node);
+                //  this.removeNodeKeepChildren(node);
              }
          }
          
index 8a8246d..7dd0c25 100644 (file)
@@ -27455,7 +27455,7 @@ Roo.extend(Roo.htmleditor.FilterParagraph, Roo.htmleditor.Filter,
              if(a.name.toLowerCase() == 'href' && a.value.startsWith('#')) {
                  Roo.log('REMOVE NODE KEEP CHILDREN');
                  Roo.log(node);
-                 this.removeNodeKeepChildren(node);
+                //  this.removeNodeKeepChildren(node);
              }
          }
          
index d82c629..61834b3 100644 (file)
@@ -1206,7 +1206,7 @@ return false;}var ar=Array.from(A.childNodes);for(var i=0;i<ar.length;i++){A.rem
 A.parentNode.removeChild(A);return false;}});
 // Roo/htmleditor/FilterHashLink.js
 Roo.htmleditor.FilterHashLink=function(A){this.walkTag(A.node);};Roo.extend(Roo.htmleditor.FilterHashLink,Roo.htmleditor.Filter,{tag:'A',replaceTag:function(A){for(var i=0;i<A.attributes.length;i++){var a=A.attributes[i];if(a.name.toLowerCase()=='href'&&a.value.startsWith('#')){Roo.log('REMOVE NODE KEEP CHILDREN');
-Roo.log(A);this.removeNodeKeepChildren(A);}}return false;}});
+Roo.log(A);}}return false;}});
 // Roo/htmleditor/FilterSpan.js
 Roo.htmleditor.FilterSpan=function(A){this.walkTag(A.node);};Roo.extend(Roo.htmleditor.FilterSpan,Roo.htmleditor.FilterKeepChildren,{tag:'SPAN',replaceTag:function(A){if(A.attributes&&A.attributes.length>0){return true;}Roo.htmleditor.FilterKeepChildren.prototype.replaceTag.call(this,A);
 return false;}});