Skip to content

April 2, 2012

2

Activates ExtJs HtmlEditor textarea when it is loaded

by Joe Kuan

To make sure ExtJs htmleditor’s text area is automatically activated when it is loaded up. Do the following:

hideLabel : true,
labelSeparator : '',
name : 'description',
xtype : "htmleditor",
listeners : {
  initialize : function(editor) {
    editor.focus();
  }
}
Advertisements
2 Comments Post a comment
  1. Carlos
    Jul 25 2012

    how can I to do the text is selected when the htmleditor is enabled? (ExtJS 4.1 version)

    Reply
    • Joe Kuan
      Jul 26 2012

      Sorry, I haven’t used the htmleditor on ExtJs 4.1 yet.

      Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments

%d bloggers like this: