2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
3 For licensing, see LICENSE.html or http://ckeditor.com/license
\r
7 * @fileOverview Defines the "virtual" dialog, dialog content and dialog button
\r
8 * definition classes.
\r
12 * The definition of a dialog window.
\r
13 * <div class="notapi">
\r
14 * This class is not really part of the API. It just illustrates the properties
\r
15 * that developers can use to define and create dialogs.
\r
17 * @name CKEDITOR.dialog.definition
\r
20 * // There is no constructor for this class, the user just has to define an
\r
21 * // object with the appropriate properties.
\r
23 * CKEDITOR.dialog.add( 'testOnly', function( editor )
\r
26 * title : 'Test Dialog',
\r
27 * resizable : CKEDITOR.DIALOG_RESIZE_BOTH,
\r
33 * label : 'First Tab',
\r
34 * title : 'First Tab Title',
\r
39 * label : 'Test Text 1',
\r
41 * 'default' : 'hello world!'
\r
51 * The dialog title, displayed in the dialog's header. Required.
\r
52 * @name CKEDITOR.dialog.definition.prototype.title
\r
59 * How the dialog can be resized, must be one of the four contents defined below.
\r
61 * <strong>CKEDITOR.DIALOG_RESIZE_NONE</strong><br />
\r
62 * <strong>CKEDITOR.DIALOG_RESIZE_WIDTH</strong><br />
\r
63 * <strong>CKEDITOR.DIALOG_RESIZE_HEIGHT</strong><br />
\r
64 * <strong>CKEDITOR.DIALOG_RESIZE_BOTH</strong><br />
\r
65 * @name CKEDITOR.dialog.definition.prototype.resizable
\r
68 * @default CKEDITOR.DIALOG_RESIZE_NONE
\r
73 * The minimum width of the dialog, in pixels.
\r
74 * @name CKEDITOR.dialog.definition.prototype.minWidth
\r
82 * The minimum height of the dialog, in pixels.
\r
83 * @name CKEDITOR.dialog.definition.prototype.minHeight
\r
92 * The initial width of the dialog, in pixels.
\r
93 * @name CKEDITOR.dialog.definition.prototype.width
\r
96 * @default @CKEDITOR.dialog.definition.prototype.minWidth
\r
102 * The initial height of the dialog, in pixels.
\r
103 * @name CKEDITOR.dialog.definition.prototype.height
\r
106 * @default @CKEDITOR.dialog.definition.prototype.minHeight
\r
112 * The buttons in the dialog, defined as an array of
\r
113 * {@link CKEDITOR.dialog.definition.button} objects.
\r
114 * @name CKEDITOR.dialog.definition.prototype.buttons
\r
117 * @default [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
\r
122 * The contents in the dialog, defined as an array of
\r
123 * {@link CKEDITOR.dialog.definition.content} objects. Required.
\r
124 * @name CKEDITOR.dialog.definition.prototype.contents
\r
131 * The function to execute when OK is pressed.
\r
132 * @name CKEDITOR.dialog.definition.prototype.onOk
\r
139 * The function to execute when Cancel is pressed.
\r
140 * @name CKEDITOR.dialog.definition.prototype.onCancel
\r
147 * The function to execute when the dialog is displayed for the first time.
\r
148 * @name CKEDITOR.dialog.definition.prototype.onLoad
\r
155 * The function to execute when the dialog is loaded (executed every time the dialog is opened).
\r
156 * @name CKEDITOR.dialog.definition.prototype.onShow
\r
163 * <div class="notapi">This class is not really part of the API. It just illustrates the properties
\r
164 * that developers can use to define and create dialog content pages.</div>
\r
165 * @name CKEDITOR.dialog.definition.content
\r
168 * // There is no constructor for this class, the user just has to define an
\r
169 * // object with the appropriate properties.
\r
173 * The id of the content page.
\r
174 * @name CKEDITOR.dialog.definition.content.prototype.id
\r
181 * The tab label of the content page.
\r
182 * @name CKEDITOR.dialog.definition.content.prototype.label
\r
189 * The popup message of the tab label.
\r
190 * @name CKEDITOR.dialog.definition.content.prototype.title
\r
197 * The CTRL hotkey for switching to the tab.
\r
198 * @name CKEDITOR.dialog.definition.content.prototype.accessKey
\r
202 * contentDefinition.accessKey = 'Q'; // Switch to this page when CTRL-Q is pressed.
\r
206 * The UI elements contained in this content page, defined as an array of
\r
207 * {@link CKEDITOR.dialog.definition.uiElement} objects.
\r
208 * @name CKEDITOR.dialog.definition.content.prototype.elements
\r
215 * The definition of user interface element (textarea, radio etc).
\r
216 * <div class="notapi">This class is not really part of the API. It just illustrates the properties
\r
217 * that developers can use to define and create dialog UI elements.</div>
\r
218 * @name CKEDITOR.dialog.definition.uiElement
\r
220 * @see CKEDITOR.ui.dialog.uiElement
\r
222 * // There is no constructor for this class, the user just has to define an
\r
223 * // object with the appropriate properties.
\r
227 * The id of the UI element.
\r
228 * @name CKEDITOR.dialog.definition.uiElement.prototype.id
\r
235 * The type of the UI element. Required.
\r
236 * @name CKEDITOR.dialog.definition.uiElement.prototype.type
\r
243 * The popup label of the UI element.
\r
244 * @name CKEDITOR.dialog.definition.uiElement.prototype.title
\r
251 * CSS class names to append to the UI element.
\r
252 * @name CKEDITOR.dialog.definition.uiElement.prototype.className
\r
259 * Inline CSS classes to append to the UI element.
\r
260 * @name CKEDITOR.dialog.definition.uiElement.prototype.style
\r
267 * Function to execute the first time the UI element is displayed.
\r
268 * @name CKEDITOR.dialog.definition.uiElement.prototype.onLoad
\r
275 * Function to execute whenever the UI element's parent dialog is displayed.
\r
276 * @name CKEDITOR.dialog.definition.uiElement.prototype.onShow
\r
283 * Function to execute whenever the UI element's parent dialog is closed.
\r
284 * @name CKEDITOR.dialog.definition.uiElement.prototype.onHide
\r
290 // ----- hbox -----
\r
293 * Horizontal layout box for dialog UI elements, auto-expends to available width of container.
\r
294 * <div class="notapi">
\r
295 * This class is not really part of the API. It just illustrates the properties
\r
296 * that developers can use to define and create horizontal layouts.
\r
297 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.hbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
299 * @name CKEDITOR.dialog.definition.hbox
\r
300 * @extends CKEDITOR.dialog.definition.uiElement
\r
303 * // There is no constructor for this class, the user just has to define an
\r
304 * // object with the appropriate properties.
\r
308 * <b>type : 'hbox',</b>
\r
309 * widths : [ '25%', '25%', '50%' ],
\r
331 * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
\r
332 * @name CKEDITOR.dialog.definition.hbox.prototype.children
\r
339 * (Optional) The widths of child cells.
\r
340 * @name CKEDITOR.dialog.definition.hbox.prototype.widths
\r
347 * (Optional) The height of the layout.
\r
348 * @name CKEDITOR.dialog.definition.hbox.prototype.height
\r
355 * The CSS styles to apply to this element.
\r
356 * @name CKEDITOR.dialog.definition.hbox.prototype.styles
\r
363 * (Optional) The padding width inside child cells. Example: 0, 1.
\r
364 * @name CKEDITOR.dialog.definition.hbox.prototype.padding
\r
371 * (Optional) The alignment of the whole layout. Example: center, top.
\r
372 * @name CKEDITOR.dialog.definition.hbox.prototype.align
\r
378 // ----- vbox -----
\r
381 * Vertical layout box for dialog UI elements.
\r
382 * <div class="notapi">
\r
383 * This class is not really part of the API. It just illustrates the properties
\r
384 * that developers can use to define and create vertical layouts.
\r
385 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.vbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
387 * <style type="text/css">.details .detailList {display:none;} </style>
\r
388 * @name CKEDITOR.dialog.definition.vbox
\r
389 * @extends CKEDITOR.dialog.definition.uiElement
\r
392 * // There is no constructor for this class, the user just has to define an
\r
393 * // object with the appropriate properties.
\r
397 * <b>type : 'vbox',</b>
\r
414 * id : 'nationality',
\r
415 * label : 'Nationality'
\r
422 * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this container.
\r
423 * @name CKEDITOR.dialog.definition.vbox.prototype.children
\r
430 * (Optional) The width of the layout.
\r
431 * @name CKEDITOR.dialog.definition.vbox.prototype.width
\r
438 * (Optional) The heights of individual cells.
\r
439 * @name CKEDITOR.dialog.definition.vbox.prototype.heights
\r
446 * The CSS styles to apply to this element.
\r
447 * @name CKEDITOR.dialog.definition.vbox.prototype.styles
\r
454 * (Optional) The padding width inside child cells. Example: 0, 1.
\r
455 * @name CKEDITOR.dialog.definition.vbox.prototype.padding
\r
462 * (Optional) The alignment of the whole layout. Example: center, top.
\r
463 * @name CKEDITOR.dialog.definition.vbox.prototype.align
\r
470 * (Optional) Whether the layout should expand vertically to fill its container.
\r
471 * @name CKEDITOR.dialog.definition.vbox.prototype.expand
\r
477 // ----- button ------
\r
480 * The definition of a button.
\r
481 * <div class="notapi">
\r
482 * This class is not really part of the API. It just illustrates the properties
\r
483 * that developers can use to define and create buttons.
\r
484 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.button} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
486 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
487 * @name CKEDITOR.dialog.definition.button
\r
488 * @extends CKEDITOR.dialog.definition.uiElement
\r
491 * // There is no constructor for this class, the user just has to define an
\r
492 * // object with the appropriate properties.
\r
496 * <b>type : 'button',</b>
\r
498 * label : 'Click me',
\r
499 * title : 'My title',
\r
500 * onClick : function() {
\r
501 * // this = CKEDITOR.ui.dialog.button
\r
502 * alert( 'Clicked: ' + this.id );
\r
508 * Whether the button is disabled.
\r
509 * @name CKEDITOR.dialog.definition.button.prototype.disabled
\r
516 * The label of the UI element.
\r
517 * @name CKEDITOR.dialog.definition.button.prototype.label
\r
523 // ----- checkbox ------
\r
526 * The definition of a checkbox element.
\r
527 * <div class="notapi">
\r
528 * This class is not really part of the API. It just illustrates the properties
\r
529 * that developers can use to define and create groups of checkbox buttons.
\r
530 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.checkbox} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
532 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
533 * @name CKEDITOR.dialog.definition.checkbox
\r
534 * @extends CKEDITOR.dialog.definition.uiElement
\r
537 * // There is no constructor for this class, the user just has to define an
\r
538 * // object with the appropriate properties.
\r
542 * <b>type : 'checkbox',</b>
\r
544 * label : 'I agree',
\r
545 * 'default' : 'checked',
\r
546 * onClick : function() {
\r
547 * // this = CKEDITOR.ui.dialog.checkbox
\r
548 * alert( 'Checked: ' + this.getValue() );
\r
554 * (Optional) The validation function.
\r
555 * @name CKEDITOR.dialog.definition.checkbox.prototype.validate
\r
562 * The label of the UI element.
\r
563 * @name CKEDITOR.dialog.definition.checkbox.prototype.label
\r
570 * The default state.
\r
571 * @name CKEDITOR.dialog.definition.checkbox.prototype.default
\r
579 // ----- file -----
\r
582 * The definition of a file upload input.
\r
583 * <div class="notapi">
\r
584 * This class is not really part of the API. It just illustrates the properties
\r
585 * that developers can use to define and create file upload elements.
\r
586 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.file} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
588 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
589 * @name CKEDITOR.dialog.definition.file
\r
590 * @extends CKEDITOR.dialog.definition.uiElement
\r
593 * // There is no constructor for this class, the user just has to define an
\r
594 * // object with the appropriate properties.
\r
598 * <b>type : 'file'</b>,
\r
600 * label : 'Select file from your computer',
\r
604 * type : 'fileButton',
\r
606 * label : 'Upload file',
\r
607 * 'for' : [ 'tab1', 'upload' ]
\r
609 * onSelect : function( fileUrl, data ) {
\r
610 * alert( 'Successfully uploaded: ' + fileUrl );
\r
617 * (Optional) The validation function.
\r
618 * @name CKEDITOR.dialog.definition.file.prototype.validate
\r
625 * The label of the UI element.
\r
626 * @name CKEDITOR.dialog.definition.file.prototype.label
\r
633 * (Optional) The action attribute of the form element associated with this file upload input.
\r
634 * If empty, CKEditor will use path to server connector for currently opened folder.
\r
635 * @name CKEDITOR.dialog.definition.file.prototype.action
\r
642 * The size of the UI element.
\r
643 * @name CKEDITOR.dialog.definition.file.prototype.size
\r
649 // ----- fileButton -----
\r
652 * The definition of a button for submitting the file in a file upload input.
\r
653 * <div class="notapi">
\r
654 * This class is not really part of the API. It just illustrates the properties
\r
655 * that developers can use to define and create a button for submitting the file in a file upload input.
\r
656 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.fileButton} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
658 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
659 * @name CKEDITOR.dialog.definition.fileButton
\r
660 * @extends CKEDITOR.dialog.definition.uiElement
\r
663 * // There is no constructor for this class, the user just has to define an
\r
664 * // object with the appropriate properties.
\r
670 * label : 'Select file from your computer',
\r
674 * <b>type : 'fileButton'</b>,
\r
676 * label : 'Upload file',
\r
677 * 'for' : [ 'tab1', 'upload' ]
\r
679 * onSelect : function( fileUrl, data ) {
\r
680 * alert( 'Successfully uploaded: ' + fileUrl );
\r
687 * (Optional) The validation function.
\r
688 * @name CKEDITOR.dialog.definition.fileButton.prototype.validate
\r
695 * The label of the UI element.
\r
696 * @name CKEDITOR.dialog.definition.fileButton.prototype.label
\r
703 * The instruction for CKEditor how to deal with file upload.
\r
704 * By default, the file and fileButton elements will not work "as expected" if this attribute is not set.
\r
705 * @name CKEDITOR.dialog.definition.fileButton.prototype.filebrowser
\r
706 * @type String|Object
\r
709 * // Update field with id 'txtUrl' in the 'tab1' tab when file is uploaded.
\r
710 * filebrowser : 'tab1:txtUrl'
\r
712 * // Call custom onSelect function when file is successfully uploaded.
\r
714 * onSelect : function( fileUrl, data ) {
\r
715 * alert( 'Successfully uploaded: ' + fileUrl );
\r
721 * An array that contains pageId and elementId of the file upload input element for which this button is created.
\r
722 * @name CKEDITOR.dialog.definition.fileButton.prototype.for
\r
726 * [ pageId, elementId ]
\r
729 // ----- html -----
\r
732 * The definition of a raw HTML element.
\r
733 * <div class="notapi">
\r
734 * This class is not really part of the API. It just illustrates the properties
\r
735 * that developers can use to define and create elements made from raw HTML code.
\r
736 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.html} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
738 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.<br />
\r
739 * To access HTML elements use {@link CKEDITOR.dom.document#getById}
\r
740 * @name CKEDITOR.dialog.definition.html
\r
741 * @extends CKEDITOR.dialog.definition.uiElement
\r
744 * // There is no constructor for this class, the user just has to define an
\r
745 * // object with the appropriate properties.
\r
749 * <b>type : 'html',</b>
\r
750 * html : '<h3>This is some sample HTML content.</h3>'
\r
754 * // Complete sample with document.getById() call when the "Ok" button is clicked.
\r
755 * var dialogDefinition =
\r
757 * title : 'Sample dialog',
\r
760 * onOk : function() {
\r
761 * // "this" is now a CKEDITOR.dialog object.
\r
762 * var document = this.getElement().getDocument();
\r
763 * // document = CKEDITOR.dom.document
\r
764 * var element = <b>document.getById( 'myDiv' );</b>
\r
766 * alert( element.getHtml() );
\r
776 * <b>type : 'html',</b>
\r
777 * html : '<b><div id="myDiv">Sample <b>text</b>.</div></b><div id="otherId">Another div.</div>'
\r
782 * buttons : [ CKEDITOR.dialog.cancelButton, CKEDITOR.dialog.okButton ]
\r
787 * (Required) HTML code of this element.
\r
788 * @name CKEDITOR.dialog.definition.html.prototype.html
\r
794 // ----- radio ------
\r
797 * The definition of a radio group.
\r
798 * <div class="notapi">
\r
799 * This class is not really part of the API. It just illustrates the properties
\r
800 * that developers can use to define and create groups of radio buttons.
\r
801 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.radio} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
803 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
804 * @name CKEDITOR.dialog.definition.radio
\r
805 * @extends CKEDITOR.dialog.definition.uiElement
\r
808 * // There is no constructor for this class, the user just has to define an
\r
809 * // object with the appropriate properties.
\r
813 * <b>type : 'radio',</b>
\r
815 * label : 'Which country is bigger',
\r
816 * items : [ [ 'France', 'FR' ], [ 'Germany', 'DE' ] ] ,
\r
817 * style : 'color:green',
\r
818 * 'default' : 'DE',
\r
819 * onClick : function() {
\r
820 * // this = CKEDITOR.ui.dialog.radio
\r
821 * alert( 'Current value: ' + this.getValue() );
\r
827 * The default value.
\r
828 * @name CKEDITOR.dialog.definition.radio.prototype.default
\r
835 * (Optional) The validation function.
\r
836 * @name CKEDITOR.dialog.definition.radio.prototype.validate
\r
843 * An array of options. Each option is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value' is missing, then the value would be assumed to be the same as the description.
\r
844 * @name CKEDITOR.dialog.definition.radio.prototype.items
\r
851 * The label of the UI element.
\r
852 * @name CKEDITOR.dialog.definition.radio.prototype.label
\r
858 // ----- selectElement ------
\r
861 * The definition of a select element.
\r
862 * <div class="notapi">
\r
863 * This class is not really part of the API. It just illustrates the properties
\r
864 * that developers can use to define and create select elements.
\r
865 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.select} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
867 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
868 * @name CKEDITOR.dialog.definition.select
\r
869 * @extends CKEDITOR.dialog.definition.uiElement
\r
872 * // There is no constructor for this class, the user just has to define an
\r
873 * // object with the appropriate properties.
\r
877 * <b>type : 'select',</b>
\r
879 * label : 'Select your favourite sport',
\r
880 * items : [ [ 'Basketball' ], [ 'Baseball' ], [ 'Hockey' ], [ 'Football' ] ],
\r
881 * 'default' : 'Football',
\r
882 * onChange : function( api ) {
\r
883 * // this = CKEDITOR.ui.dialog.select
\r
884 * alert( 'Current value: ' + this.getValue() );
\r
890 * The default value.
\r
891 * @name CKEDITOR.dialog.definition.select.prototype.default
\r
898 * (Optional) The validation function.
\r
899 * @name CKEDITOR.dialog.definition.select.prototype.validate
\r
906 * An array of options. Each option is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value' is missing, then the value would be assumed to be the same as the description.
\r
907 * @name CKEDITOR.dialog.definition.select.prototype.items
\r
914 * (Optional) Set this to true if you'd like to have a multiple-choice select box.
\r
915 * @name CKEDITOR.dialog.definition.select.prototype.multiple
\r
923 * (Optional) The number of items to display in the select box.
\r
924 * @name CKEDITOR.dialog.definition.select.prototype.size
\r
931 * The label of the UI element.
\r
932 * @name CKEDITOR.dialog.definition.select.prototype.label
\r
938 // ----- textInput -----
\r
941 * The definition of a text field (single line).
\r
942 * <div class="notapi">
\r
943 * This class is not really part of the API. It just illustrates the properties
\r
944 * that developers can use to define and create text fields.
\r
945 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textInput} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
947 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
948 * @name CKEDITOR.dialog.definition.textInput
\r
949 * @extends CKEDITOR.dialog.definition.uiElement
\r
952 * // There is no constructor for this class, the user just has to define an
\r
953 * // object with the appropriate properties.
\r
956 * <b>type : 'text',</b>
\r
958 * label : 'Your name',
\r
960 * validate : function() {
\r
961 * if ( !this.getValue() )
\r
963 * api.openMsgDialog( '', 'Name cannot be empty.' );
\r
971 * The default value.
\r
972 * @name CKEDITOR.dialog.definition.textInput.prototype.default
\r
979 * (Optional) The maximum length.
\r
980 * @name CKEDITOR.dialog.definition.textInput.prototype.maxLength
\r
987 * (Optional) The size of the input field.
\r
988 * @name CKEDITOR.dialog.definition.textInput.prototype.size
\r
995 * (Optional) The validation function.
\r
996 * @name CKEDITOR.dialog.definition.textInput.prototype.validate
\r
1003 * The label of the UI element.
\r
1004 * @name CKEDITOR.dialog.definition.textInput.prototype.label
\r
1010 // ----- textarea ------
\r
1013 * The definition of a text field (multiple lines).
\r
1014 * <div class="notapi">
\r
1015 * This class is not really part of the API. It just illustrates the properties
\r
1016 * that developers can use to define and create textarea.
\r
1017 * <br /><br />Once the dialog is opened, the created element becomes a {@link CKEDITOR.ui.dialog.textarea} object and can be accessed with {@link CKEDITOR.dialog#getContentElement}.
\r
1019 * For a complete example of dialog definition, please check {@link CKEDITOR.dialog.add}.
\r
1020 * @name CKEDITOR.dialog.definition.textarea
\r
1021 * @extends CKEDITOR.dialog.definition.uiElement
\r
1024 * // There is no constructor for this class, the user just has to define an
\r
1025 * // object with the appropriate properties.
\r
1029 * <b>type : 'textarea',</b>
\r
1031 * label : 'Your comment',
\r
1033 * validate : function() {
\r
1034 * if ( this.getValue().length < 5 )
\r
1036 * api.openMsgDialog( 'The comment is too short.' );
\r
1044 * The number of rows.
\r
1045 * @name CKEDITOR.dialog.definition.textarea.prototype.rows
\r
1052 * The number of columns.
\r
1053 * @name CKEDITOR.dialog.definition.textarea.prototype.cols
\r
1060 * (Optional) The validation function.
\r
1061 * @name CKEDITOR.dialog.definition.textarea.prototype.validate
\r
1068 * The default value.
\r
1069 * @name CKEDITOR.dialog.definition.textarea.prototype.default
\r
1076 * The label of the UI element.
\r
1077 * @name CKEDITOR.dialog.definition.textarea.prototype.label
\r