I have a form panel with an htmleditor (Ext.form.field.HtmlEditorView
).
The editor works fine, but I can't register plugins on it. The plugin from the code below never gets initialized.
Im using ExtJs 4.2
The plugin code:
Ext.define('Ext.ux.wysiwyg.Filemanager', {
alias: 'plugin.filemanager',
init: function(cmp){
console.log('init'); //Never gets initialized!
}
});
And here is how I register the plugin on the htmleditor:
xtype: 'htmleditor',
plugins: [
Ext.create('Ext.ux.wysiwyg.Filemanager')
]
So my question: how can I get a plugin on the htmleditor?