3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
17 * Copyright(c) 2006-2011 Sencha Inc.
18 * licensing@sencha.com
19 * http://www.sencha.com/license
22 Ext.define('MyDesktop.Notepad', {
23 extend: 'Ext.ux.desktop.Module',
26 'Ext.form.field.HtmlEditor'
27 //'Ext.form.field.TextArea'
36 handler : this.createWindow,
41 createWindow : function(){
42 var desktop = this.app.getDesktop();
43 var win = desktop.getWindow('notepad');
45 win = desktop.createWindow({
53 //defaultFocus: 'notepad-editor', EXTJSIV-1300
55 // IE has a bug where it will keep the iframe's background visible when the window
56 // is set to visibility:hidden. Hiding the window via position offsets instead gets
67 'Some <b>rich</b> <font color="red">text</font> goes <u>here</u><br>',