public/ckeditor/_source/core/editor.js
function()
		{
			this.fire( 'beforeGetData' );

			var eventData = this._.data;

			if ( typeof eventData != 'string' )
			{
				var element = this.element;
				if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
					eventData = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
				else
					eventData = '';
			}

			eventData = { dataValue : eventData };

			// Fire "getData" so data manipulation may happen.
			this.fire( 'getData', eventData );

			return eventData.dataValue;
		}
function()
		{
			this.fire( 'beforeGetData' );

			var eventData = this._.data;

			if ( typeof eventData != 'string' )
			{
				var element = this.element;
				if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
					eventData = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
				else
					eventData = '';
			}

			eventData = { dataValue : eventData };

			// Fire "getData" so data manipulation may happen.
			this.fire( 'getData', eventData );

			return eventData.dataValue;
		}
function ( ) { this . fire ( 'beforeGetData' ) ; var eventData = this . _ . data ; if ( typeof eventData != 'string' ) { var element = this . element ; if ( element && this . elementMode == CKEDITOR . ELEMENT_MODE_REPLACE ) eventData = element . is ( 'textarea' ) ? element . getValue ( ) : element . getHtml ( ) ; else eventData = '' ; } eventData = { dataValue : eventData } ; // Fire "getData" so data manipulation may happen.
 this . fire ( 'getData' , eventData ) ; return eventData . dataValue ; }
Gets the editor data. The data will be in raw format. It is the same
data that is posted by the editor.
@type String
@returns (String) The editor data.
@example
if ( CKEDITOR.instances.editor1.<strong>getData()</strong> == '' )
alert( 'There is no data available' );
Gets the editor data . The data will be in raw format . It is the same data that is posted by the editor .