diff options
Diffstat (limited to '_samples/api_dialog/my_dialog.js')
| -rw-r--r-- | _samples/api_dialog/my_dialog.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/_samples/api_dialog/my_dialog.js b/_samples/api_dialog/my_dialog.js new file mode 100644 index 0000000..27793ed --- /dev/null +++ b/_samples/api_dialog/my_dialog.js @@ -0,0 +1,28 @@ +/* +Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.dialog.add( 'myDialog', function( editor ) +{ + return { + title : 'My Dialog', + minWidth : 400, + minHeight : 200, + contents : [ + { + id : 'tab1', + label : 'First Tab', + title : 'First Tab', + elements : + [ + { + id : 'input1', + type : 'text', + label : 'Input 1' + } + ] + } + ] + }; +} ); |
