Hallo [@Patrick Stahl](http://forum.shopware.com/profile/1869/Patrick Stahl „Patrick Stahl“),
ich habe mal den Code einfach mal im Plugin erweitert. Jedoch wird es doch bestimmt beim nächsten Update überschrieben oder? gibt es hier eine einfache möglichkeit das Updatesicher zu machen?
Nach der erweiterung Zeigt er mir dies auch an und Greift auch, also wenn es jetzt so bleibt wäre perfekt.
Code:
/**
* @returns { Ext.data.Store }
*/
createFontStore: function () {
var me = this;
me.store = Ext.create('Ext.data.Store', {
fields: ['font', 'label'],
data: [
{ 'font': 'Satisfy', 'label': 'Satisfy'},
{ 'font': 'Lato', 'label': 'Lato'},
{ 'font': 'Arial', 'label': 'Arial'},
{ 'font': 'Arial Black', 'label': 'Arial Black'},
{ 'font': 'Arial Narrow', 'label': 'Arial Narrow'},
{ 'font': 'Open Sans', 'label': 'Open Sans'},
{ 'font': 'Trebuchet MS', 'label': 'Trebuchet MS'},
{ 'font': 'Verdana', 'label': 'Verdana'},
{ 'font': 'Tahoma', 'label': 'Tahoma'},
{ 'font': 'Georgia', 'label': 'Georgia'},
{ 'font': 'Palatino', 'label': 'Palatino'},
{ 'font': 'Garamond', 'label': 'Garamond'},
{ 'font': 'Century Gothic', 'label': 'Century Gothic'},
{ 'font': 'Lucida Bright', 'label': 'Lucida Bright'},
{ 'font': 'Book Antiqua', 'label': 'Book Antiqua'},
{ 'font': 'Times New Roman', 'label': 'Times New Roman'},
{ 'font': 'Lucida Sans Typewriter', 'label': 'Lucida Sans Typewriter'},
{ 'font': 'Courier New', 'label': 'Courier New'}
]
});
}
});
// {/block}