*/
var mform;
+var editor;
Roo.onReady(function(){
Roo.QuickTips.init();
{
xtype : 'HtmlEditor',
xns: Roo.form,
+ white : [ 'iframe' ],
toolbars : [
{
xtype : 'ToolbarStandard',
},
{
xtype : 'ToolbarContext',
- xns : Roo.form.HtmlEditor
+ xns : Roo.form.HtmlEditor,
+ styles : {
+ '*' : [ 'headline' ] ,
+ 'TD' : [ 'underline', 'double-underline' ]
+ }
},
id:'bio',
name : 'bio',
fieldLabel:'Biography',
- width:550,
- height:200,
- expandable : true
+ width:800,
+ height:400,
+ resizable: 's' /// where the handles should got..
+
},
{
xtype : 'Button',
});
mform.render('form-ct5');
-
+ editor = mform.findField('bio');
});
\ No newline at end of file