public/ckeditor/_source/core/dom/element.js
function( text )
		{
			CKEDITOR.dom.element.prototype.setText = ( this.$.innerText != undefined ) ?
				function ( text )
				{
					return this.$.innerText = text;
				} :
				function ( text )
				{
					return this.$.textContent = text;
				};

			return this.setText( text );
		}
function( text )
		{
			CKEDITOR.dom.element.prototype.setText = ( this.$.innerText != undefined ) ?
				function ( text )
				{
					return this.$.innerText = text;
				} :
				function ( text )
				{
					return this.$.textContent = text;
				};

			return this.setText( text );
		}
function ( text ) { CKEDITOR . dom . element . prototype . setText = ( this . $ . innerText != undefined ) ? function ( text ) { return this . $ . innerText = text ; } : function ( text ) { return this . $ . textContent = text ; } ; return this . setText ( text ) ; }
Sets the element contents as plain text.
@param {String} text The text to be set.
@returns {String} The inserted text.
@example
var element = new CKEDITOR.dom.element( 'div' );
element.setText( 'A > B & C < D' );
alert( element.innerHTML );  // "A &amp;gt; B &amp;amp; C &amp;lt; D"
Sets the element contents as plain text .