PDA

View Full Version : Adding more fornt families to HTML editor control



manjushree
28 Jul 2015, 7:27 AM
How can i add more fornt families to HTML editor control

joel.watson
28 Jul 2015, 9:56 AM
How can i add more fornt families to HTML editor control

You can specify whatever list you'd like via fontFamilies (http://docs.sencha.com/extjs/6.0/6.0.0-classic/#!/api/Ext.form.field.HtmlEditor-cfg-fontFamilies). If you wanted to be able to add to this list without having to specify the full list, you could create a custom extension of Ext.form.field.HtmlEditor and merge the new fonts with the default value of fontFamilies.

Hope that helps--thanks!
Joel