projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f86779
)
Roo/form/HtmlEditor.js
author
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 09:02:12 +0000
(17:02 +0800)
committer
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 09:02:12 +0000
(17:02 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
705a5a2
..
bb7be7f
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-330,6
+330,12
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
if(!lines.length){
return;
}
+
+ if(e.ctrlKey){
+ this.el.dom.setSelectionRange(this.getValue().length, this.getValue().length);
+ return;
+ }
+
var pos = 0;
for (var i = 0; i < lines.length;i++) {