projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix table align
[roojs1]
/
Roo
/
htmleditor
/
BlockTd.js
diff --git
a/Roo/htmleditor/BlockTd.js
b/Roo/htmleditor/BlockTd.js
index
3faf1bf
..
3f37011
100644
(file)
--- a/
Roo/htmleditor/BlockTd.js
+++ b/
Roo/htmleditor/BlockTd.js
@@
-379,6
+379,9
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
this.colspan = Math.max(1,1*node.getAttribute('colspan'));
this.rowspan = Math.max(1,1*node.getAttribute('rowspan'));
this.html = node.innerHTML;
+ if (node.style.textAlign != '') {
+ this.textAlign = node.style.textAlign;
+ }
},