JavaScript
Run Code
Open in Fiddle
new Ext.Button({ renderTo: document.body, text: 'Show Window', handler: function () { var win = new Ext.Window({ title: 'Form Window', modal: true, items: [{ xtype: 'htmleditor' }] }); win.show(); } });