Closed minaseem closed 7 years ago
You're looking for http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-getSelectedText.
Still, please do not report issues in CKEditor. The correct location of CKEditor issue tracker is: http://dev.ckeditor.com.
There should be way to get the html and text enclosed by the range. This feature will be very useful. extractContent() removes the enclosed content from the DOM.