code: function() {
  			var cache = this._.cache;
  			if ( cache.selectedText !== undefined )
  				return cache.selectedText;
  
  			var nativeSel = this.getNative(),
  				text = isMSSelection ? nativeSel.type == 'Control' ? '' : nativeSel.createRange().text : nativeSel.toString();
  
  			return ( cache.selectedText = text );
  		}
docs: Retrieves the text contained within the range. An empty string is returned for non-text selection.
  
  var text = editor.getSelection().getSelectedText();
  alert( text );
  
  @since 3.6.1
  @returns {String} A string of text within the current selection.