View Full Version : HtmlEditor cleanHtml
kape123
4 Oct 2007, 8:30 PM
I want to remove empty span elements using this function of HtmlEditor... in documentation it says that I should 'override' this method... can someone give me example on how to do that?
Tnx in advance!
Ext.override (http://extjs.com/deploy/ext/docs/output/Ext.html#override) so...
Ext.override(Ext.form.HtmlEditor, {
cleanHtml : function(html){
//
}
});
Typically, you'd create an overrides.js file and add the above to it. overrides.js would come after your extjs includes in any html files.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.