assets/ckeditor/tests/plugins/uploadwidget/uploadwidget.js
// Safari has different range then other browsers and we need to normalize it.
Safari has different range then other browsers and we need to normalize it.
Safari has different range then other browsers and we need to normalize it .
function shrinkRange( editor ) {
		var range = editor.getSelection().getRanges()[ 0 ];
		range.shrink( CKEDITOR.SHRINK_ELEMENT );
		range.shrink( CKEDITOR.SHRINK_TEXT );
		range.select();
	}
function shrinkRange ( editor ) { var range = editor . getSelection ( ) . getRanges ( ) [ 0 ] ; range . shrink ( CKEDITOR . SHRINK_ELEMENT ) ; range . shrink ( CKEDITOR . SHRINK_TEXT ) ; range . select ( ) ; }
Safari has different range then other browsers and we need to normalize it.
Safari has different range then other browsers and we need to normalize it .