projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77c3d10
)
Roo/HtmlEditorCore.js
author
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 05:52:57 +0000
(13:52 +0800)
committer
Edward
<edward@roojs.com>
Tue, 8 Jul 2014 05:52:57 +0000
(13:52 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
9fa8eae
..
6ab173c
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-117,7
+117,7
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
iframePad:3,
hideMode:'offsets',
- clea
nUpPaste
: true,
+ clea
rUp
: true,
@@
-937,7
+937,12
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
cleanUpPaste : function()
{
// cleans up the whole document..
- Roo.log('cleanuppaste');
+ Roo.log('cleanuppaste');
+
+ if(!this.clearUp){
+ return;
+ }
+
this.cleanUpChildren(this.doc.body);
var clean = this.cleanWordChars(this.doc.body.innerHTML);
if (clean != this.doc.body.innerHTML) {