var doc = oEditor.document,
range = new CKEDITOR.dom.range(doc),
body = doc.getBody();
range.setStart(body, 0);
range.setEnd(body, 0);
oEditor.getSelection().selectRanges( [range] );
One more question : the selection is removed (I can check that using selection.getSelectedElement), but the selection handles (for images, anchors) in the wysiwyg area remain (using FF). Is there a way to remove these as well ?
Re: How to unselect a selection using javascript ?
?
Re: How to unselect a selection using javascript ?
One more question : the selection is removed (I can check that using selection.getSelectedElement), but the selection handles (for images, anchors) in the wysiwyg area remain (using FF). Is there a way to remove these as well ?
Re: How to unselect a selection using javascript ?
http://dev.ckeditor.com/wiki/Bugs
Re: How to unselect a selection using javascript ?