omar.belkhodja
20 Apr 2012, 1:50 PM
Hello,
Using the sample source code below, the HTML Editor is rendered with a blue background (same as a Window frame), whereas in the deployed website it is white as I need it to be.
Ext.define('My.view.OrdonnanceForm', {
extend: 'Ext.form.Panel',
alias: 'widget.myform',
frame: true,
height: 250,
width: 400,
layout: {
type: 'fit'
},
bodyPadding: 10,
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'htmleditor',
height: 150,
enableLinks: false,
enableSourceEdit: false,
fieldLabel: 'Ordonnance'
}
]
});
me.callParent(arguments);
}
});
Using the sample source code below, the HTML Editor is rendered with a blue background (same as a Window frame), whereas in the deployed website it is white as I need it to be.
Ext.define('My.view.OrdonnanceForm', {
extend: 'Ext.form.Panel',
alias: 'widget.myform',
frame: true,
height: 250,
width: 400,
layout: {
type: 'fit'
},
bodyPadding: 10,
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'htmleditor',
height: 150,
enableLinks: false,
enableSourceEdit: false,
fieldLabel: 'Ordonnance'
}
]
});
me.callParent(arguments);
}
});