JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1
[ckeditor.git] / _samples / api_dialog / my_dialog.js
1 /*\r
2 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
3 For licensing, see LICENSE.html or http://ckeditor.com/license\r
4 */\r
5 \r
6 CKEDITOR.dialog.add( 'myDialog', function( editor )\r
7 {\r
8         return {\r
9                 title : 'My Dialog',\r
10                 minWidth : 400,\r
11                 minHeight : 200,\r
12                 contents : [\r
13                         {\r
14                                 id : 'tab1',\r
15                                 label : 'First Tab',\r
16                                 title : 'First Tab',\r
17                                 elements :\r
18                                 [\r
19                                         {\r
20                                                 id : 'input1',\r
21                                                 type : 'text',\r
22                                                 label : 'Input 1'\r
23                                         }\r
24                                 ]\r
25                         }\r
26                 ]\r
27         };\r
28 } );\r