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

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

index b476aae..590f184 100644 (file)
@@ -28,6 +28,7 @@
                  Roo.log('REMOVE NODE KEEP CHILDREN');
                  Roo.log(node);
                 //  this.removeNodeKeepChildren(node);
+                Roo.log('?');
              }
          }
          
index 7dd0c25..faad3d2 100644 (file)
@@ -27456,6 +27456,7 @@ Roo.extend(Roo.htmleditor.FilterParagraph, Roo.htmleditor.Filter,
                  Roo.log('REMOVE NODE KEEP CHILDREN');
                  Roo.log(node);
                 //  this.removeNodeKeepChildren(node);
+                Roo.log('?');
              }
          }
          
index 61834b3..4117644 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);}}return false;}});
+Roo.log(A);Roo.log('?');}}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;}});