projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c556ab
)
Roo/HtmlEditorCore.js
author
Alan Knowles
<alan@roojs.com>
Wed, 3 Sep 2014 06:55:58 +0000
(14:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 3 Sep 2014 06:55:58 +0000
(14:55 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
08cfb7e
..
b5a4961
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1198,7
+1198,8
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
if (node.hasAttribute("lang")) {
node.removeAttribute("lang");
}
- if (node.getAttribute("style") && node.getAttribute("style").length) {
+
+ if (node.hasAttribute("style")) {
var styles = node.getAttribute("style").split(";");
var nstyle = [];