projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8088316
)
Roo/form/HtmlEditor.js
author
Alan
<alan@roojs.com>
Mon, 27 Sep 2021 07:38:56 +0000
(15:38 +0800)
committer
Alan
<alan@roojs.com>
Mon, 27 Sep 2021 07:38:56 +0000
(15:38 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
8974d64
..
2131cfe
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-454,6
+454,8
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
this.el.removeClass('x-hidden');
this.el.dom.removeAttribute('tabIndex');
this.el.focus();
+ this.el.dom.scrollTop = 0;
+
for (var i = 0; i < this.toolbars.length; i++) {
if(this.toolbars[i] instanceof Roo.form.HtmlEditor.ToolbarContext){