Opened 15 years ago

Closed 15 years ago

#4558 closed Bug (duplicate)

Selection not picked up in dialog

Reported by: Bert Hankes Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

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).

Change History (2)

comment:1 Changed 15 years ago by Bert Hankes

BTW: This behaviour (bug) is observed in IE... (7, 8). In Firefox the selection is working better but sometimes when selecting manualy in Firefox it behaves the same. In FCKeditor there was also an issue with selection in IE vs Firefox

comment:2 Changed 15 years ago by Garry Yao

Resolution: duplicate
Status: newclosed

Thanks for the report, I've opened #4561 for IE.

but sometimes when selecting manualy in Firefox it behaves the same

The correct way for selecting a link is by use the bottom elementpath bar.

I can't figure out how to get the text (getHTML, getText does not not work).

Please use our forums for discussions and community support.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy