Opened 16 years ago
Closed 16 years ago
#2921 closed Task (expired)
plugin:selection adding new way to force fire 'selectionChange'
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.0 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Cc: |
Description
There's several use cases around the codebase when interact with CKEDITOR.dom.selection.selectRanges :
- Just make the selection highlight;
- Make selection and focus the editor;
- Only make selection on the fly and fire 'selectionChange' without focus gaining.
For item 1 just invoke the method is ok, for item 2 Martin has already introduce a workarround at http://dev.fckeditor.net/ticket/2883#comment:4, for item 3 there's also a workarround by http://dev.fckeditor.net/ticket/2862#comment:10.
It's better to integrate these pieces together to avoid confusing.
The problem has expired after recent changesets.