projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #7873 - links to footnotes removed on paste
[roojs1]
/
Roo
/
htmleditor
/
FilterParagraph.js
diff --git
a/Roo/htmleditor/FilterParagraph.js
b/Roo/htmleditor/FilterParagraph.js
index
5c5f227
..
295f026
100644
(file)
--- a/
Roo/htmleditor/FilterParagraph.js
+++ b/
Roo/htmleditor/FilterParagraph.js
@@
-10,7
+10,7
@@
Roo.htmleditor.FilterParagraph = function(cfg)
{
// no need to apply config.
Roo.htmleditor.FilterParagraph = function(cfg)
{
// no need to apply config.
- this.
walk
(cfg.node);
+ this.
searchTag
(cfg.node);
}
Roo.extend(Roo.htmleditor.FilterParagraph, Roo.htmleditor.Filter,
}
Roo.extend(Roo.htmleditor.FilterParagraph, Roo.htmleditor.Filter,
@@
-31,6
+31,7
@@
Roo.extend(Roo.htmleditor.FilterParagraph, Roo.htmleditor.Filter,
node.parentNode.replaceChild(node.ownerDocument.createElement('BR'),node);
return false; // no need to walk..
}
node.parentNode.replaceChild(node.ownerDocument.createElement('BR'),node);
return false; // no need to walk..
}
+
var ar = Array.from(node.childNodes);
for (var i = 0; i < ar.length; i++) {
node.removeChild(ar[i]);
var ar = Array.from(node.childNodes);
for (var i = 0; i < ar.length; i++) {
node.removeChild(ar[i]);