projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdca91c
)
Roo/form/HtmlEditor/ToolbarStandard.js
author
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 07:22:48 +0000
(15:22 +0800)
committer
Edward
<edward@roojs.com>
Mon, 13 Jan 2014 07:22:48 +0000
(15:22 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarStandard.js
b/Roo/form/HtmlEditor/ToolbarStandard.js
index
c953976
..
cbe1c8d
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarStandard.js
+++ b/
Roo/form/HtmlEditor/ToolbarStandard.js
@@
-367,12
+367,12
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, {
html: this.cleanStyles[i],
handler: function(a,b) {
- var c =
editor.getValue(
);
+ var c =
Roo.get(editor.doc.body
);
var nodes = [];
c.select('[style]').each(function(i) {
nodes.push(i.dom);
});
- Roo.log(c);
+
// editor.insertAtCursor(String.fromCharCode(a.html.replace('&#','').replace(';', '')));
//editor.insertAtCursor(a.html);