-\feff/**\r
- * Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r
- * For licensing, see LICENSE.md or http://ckeditor.com/license\r
- */\r
-\r
-CKEDITOR.dialog.add( 'myDialog', function() {\r
- return {\r
- title: 'My Dialog',\r
- minWidth: 400,\r
- minHeight: 200,\r
- contents: [\r
- {\r
- id: 'tab1',\r
- label: 'First Tab',\r
- title: 'First Tab',\r
- elements: [\r
- {\r
- id: 'input1',\r
- type: 'text',\r
- label: 'Text Field'\r
- },\r
- {\r
- id: 'select1',\r
- type: 'select',\r
- label: 'Select Field',\r
- items: [\r
- [ 'option1', 'value1' ],\r
- [ 'option2', 'value2' ]\r
- ]\r
- }\r
- ]\r
- },\r
- {\r
- id: 'tab2',\r
- label: 'Second Tab',\r
- title: 'Second Tab',\r
- elements: [\r
- {\r
- id: 'button1',\r
- type: 'button',\r
- label: 'Button Field'\r
- }\r
- ]\r
- }\r
- ]\r
- };\r
-} );\r
-\r
+\feff/**
+ * Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+CKEDITOR.dialog.add( 'myDialog', function() {
+ return {
+ title: 'My Dialog',
+ minWidth: 400,
+ minHeight: 200,
+ contents: [
+ {
+ id: 'tab1',
+ label: 'First Tab',
+ title: 'First Tab',
+ elements: [
+ {
+ id: 'input1',
+ type: 'text',
+ label: 'Text Field'
+ },
+ {
+ id: 'select1',
+ type: 'select',
+ label: 'Select Field',
+ items: [
+ [ 'option1', 'value1' ],
+ [ 'option2', 'value2' ]
+ ]
+ }
+ ]
+ },
+ {
+ id: 'tab2',
+ label: 'Second Tab',
+ title: 'Second Tab',
+ elements: [
+ {
+ id: 'button1',
+ type: 'button',
+ label: 'Button Field'
+ }
+ ]
+ }
+ ]
+ };
+} );
+