projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c9724
)
Roo/HtmlEditorCore.js
author
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 06:59:11 +0000
(14:59 +0800)
committer
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 06:59:11 +0000
(14:59 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
35db5b3
..
12f795d
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-936,6
+936,9
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
// private? - in a new class?
cleanUpPaste : function()
{
+ if(!this.clearUp){
+ return;
+ }
// cleans up the whole document..
Roo.log('cleanuppaste');
@@
-977,8
+980,6
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
cleanUpChild : function (node)
{
var ed = this;
- Roo.log('clear up child!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
- Roo.log(node.nodeName);
//console.log(node);
if (node.nodeName == "#text") {
// clean up silly Windows -- stuff?