3 * Copyright(c) 2006-2011 Sencha Inc.
5 * http://www.sencha.com/license
8 Ext.define('MyDesktop.Notepad', {
9 extend: 'Ext.ux.desktop.Module',
12 'Ext.form.field.HtmlEditor'
13 //'Ext.form.field.TextArea'
22 handler : this.createWindow,
27 createWindow : function(){
28 var desktop = this.app.getDesktop();
29 var win = desktop.getWindow('notepad');
31 win = desktop.createWindow({
39 //defaultFocus: 'notepad-editor', EXTJSIV-1300
41 // IE has a bug where it will keep the iframe's background visible when the window
42 // is set to visibility:hidden. Hiding the window via position offsets instead gets
53 'Some <b>rich</b> <font color="red">text</font> goes <u>here</u><br>',