public/ckeditor/4.4dev/plugins/dialogui/plugin.js
function( dialog, elementDefinition, htmlList ) {
				if ( arguments.length < 3 )
					return;

				initPrivateObject.call( this, elementDefinition );
				var me = this,
					domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textarea',
					attributes = {};

				if ( elementDefinition.validate )
					this.validate = elementDefinition.validate;

				// Generates the essential attributes for the textarea tag.
				attributes.rows = elementDefinition.rows || 5;
				attributes.cols = elementDefinition.cols || 20;

				attributes[ 'class' ] = 'cke_dialog_ui_input_textarea ' + ( elementDefinition[ 'class' ] || '' );

				if ( typeof elementDefinition.inputStyle != 'undefined' )
					attributes.style = elementDefinition.inputStyle;

				if ( elementDefinition.dir )
					attributes.dir = elementDefinition.dir;

				var innerHTML = function() {
						attributes[ 'aria-labelledby' ] = this._.labelId;
						this._.required && ( attributes[ 'aria-required' ] = this._.required );
						var html = [ '<div class="cke_dialog_ui_input_textarea" role="presentation"><textarea id="', domId, '" ' ];
						for ( var i in attributes )
							html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[ i ] ) + '" ' );
						html.push( '>', CKEDITOR.tools.htmlEncode( me._[ 'default' ] ), '</textarea></div>' );
						return html.join( '' );
					};
				CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
			}
function( dialog, elementDefinition, htmlList ) {
				if ( arguments.length < 3 )
					return;

				initPrivateObject.call( this, elementDefinition );
				var me = this,
					domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textarea',
					attributes = {};

				if ( elementDefinition.validate )
					this.validate = elementDefinition.validate;

				// Generates the essential attributes for the textarea tag.
				attributes.rows = elementDefinition.rows || 5;
				attributes.cols = elementDefinition.cols || 20;

				attributes[ 'class' ] = 'cke_dialog_ui_input_textarea ' + ( elementDefinition[ 'class' ] || '' );

				if ( typeof elementDefinition.inputStyle != 'undefined' )
					attributes.style = elementDefinition.inputStyle;

				if ( elementDefinition.dir )
					attributes.dir = elementDefinition.dir;

				var innerHTML = function() {
						attributes[ 'aria-labelledby' ] = this._.labelId;
						this._.required && ( attributes[ 'aria-required' ] = this._.required );
						var html = [ '<div class="cke_dialog_ui_input_textarea" role="presentation"><textarea id="', domId, '" ' ];
						for ( var i in attributes )
							html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[ i ] ) + '" ' );
						html.push( '>', CKEDITOR.tools.htmlEncode( me._[ 'default' ] ), '</textarea></div>' );
						return html.join( '' );
					};
				CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
			}
function ( dialog , elementDefinition , htmlList ) { if ( arguments . length < 3 ) return ; initPrivateObject . call ( this , elementDefinition ) ; var me = this , domId = this . _ . inputId = CKEDITOR . tools . getNextId ( ) + '_textarea' , attributes = { } ; if ( elementDefinition . validate ) this . validate = elementDefinition . validate ; // Generates the essential attributes for the textarea tag.
 attributes . rows = elementDefinition . rows || 5 ; attributes . cols = elementDefinition . cols || 20 ; attributes [ 'class' ] = 'cke_dialog_ui_input_textarea ' + ( elementDefinition [ 'class' ] || '' ) ; if ( typeof elementDefinition . inputStyle != 'undefined' ) attributes . style = elementDefinition . inputStyle ; if ( elementDefinition . dir ) attributes . dir = elementDefinition . dir ; var innerHTML = function ( ) { attributes [ 'aria-labelledby' ] = this . _ . labelId ; this . _ . required && ( attributes [ 'aria-required' ] = this . _ . required ) ; var html = [ '<div class="cke_dialog_ui_input_textarea" role="presentation"><textarea id="' , domId , '" ' ] ; for ( var i in attributes ) html . push ( i + '="' + CKEDITOR . tools . htmlEncode ( attributes [ i ] ) + '" ' ) ; html . push ( '>' , CKEDITOR . tools . htmlEncode ( me . _ [ 'default' ] ) , '</textarea></div>' ) ; return html . join ( '' ) ; } ; CKEDITOR . ui . dialog . labeledElement . call ( this , dialog , elementDefinition , htmlList , innerHTML ) ; }
A text area with a label at the top or on the left.

@class CKEDITOR.ui.dialog.textarea
@extends CKEDITOR.ui.dialog.labeledElement
@constructor Creates a textarea class instance.
@param {CKEDITOR.dialog} dialog Parent dialog window object.
@param {CKEDITOR.dialog.definition.uiElement} elementDefinition

The element definition. Accepted fields:

* `rows` (Optional) The number of rows displayed.
Defaults to 5 if not defined.
* `cols` (Optional) The number of cols displayed.
Defaults to 20 if not defined. Usually overridden by skins.
* `default` (Optional) The default value.
* `validate` (Optional) The validation function.

@param {Array} htmlList List of HTML code to output to.
A text area with a label at the top or on the left .