add code needed for textselection plugin to work

following instructions on
http://ckeditor.com/comment/123133#comment-123133