Selection not picked up in dialog
|Reported by:||ayh||Owned by:|
For instance concider the demotext (e.g. This is some sample text. You are using CKEditor.):
Choose/select the entire 'CKeditor' link in the demotext and edit the link... the actual link is not shown in the dialog. When the selection is collapsed on 'CKeditor', the link is shown in the the dialog.
Perhaps it is by design.. but back in the old days of FCKeditor it was behaving consistent! Selection of collapsed.. A link is shown in the dialog!
Another related question (about a selection in editor): I'm trying to make a plugin (converting a FCKplugin I made). How can I get the selected-text in the dialog? editor.getSelection() gives me an object... I can't figure out how to get the text (getHTML, getText does not not work).