projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
209d247
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Tue, 29 Apr 2014 11:23:38 +0000
(19:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 29 Apr 2014 11:23:38 +0000
(19:23 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
cc95712
..
ae02870
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-658,14
+658,14
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
}
pn.removeChild(sn);
- var range = editor.createRange();
+ var range = editor
core
.createRange();
range.setStart(stn,0);
range.setEnd(en,0); //????
//range.selectNode(sel);
- var selection = editor.getSelection();
+ var selection = editor
core
.getSelection();
selection.removeAllRanges();
selection.addRange(range);