View Full Version : Cursor focus is not set on the editor while Composing/Forwarding/Replying to a mail.
Amruta K
17 Dec 2010, 5:50 AM
When i compose/Forward/Reply to a mail i want to set focus initially on the composer editor.
But HTML Editor does not support focus(). So, how can I set focus on the editor.
Is there any other way to do this?
Thanks,
Amruta
I just did a small testcase. I used this example http://www.sencha.com/examples/explorer.html#anchorlayout and added
w.setFocusWidget(html);
to the code. The editor was initially focussed. I tested this against FF 3.6 and IE8. So focussing the HtmlEditorworks fine for me.
Amruta K
22 Dec 2010, 12:44 AM
I just did a small testcase. I used this example http://www.sencha.com/examples/explorer.html#anchorlayout and added
w.setFocusWidget(html);
to the code. The editor was initially focussed. I tested this against FF 3.6 and IE8. So focussing the HtmlEditorworks fine for me.
But this will set focus on widget. I want to set the focus initially on the text area which is the editor.
So, how can I set focus on the editor.
This was your question. What do you want to do, if you dont want to set the focus on the editor?
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.