Opened 16 years ago

Last modified 13 years ago

#2554 confirmed Bug

Select All using Ctrl-A does not work in modal dialog

Reported by: tcarden Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IE Cc:

Description

The 'Select All' toolbar button can be used to select all content in the editor window. This works when the editor is loaded in a normal window or in a modal dialog window. However, although the Ctrl-A keyboard shortcut works in a normal window, it does nothing when the editor is running in a modal dialog box.

Versions: 2.6.2 OS: Windows XP Browser: IE6

Steps to reproduce:

Implement an instance of FCKEditor in a page, and load the page in a modal dialog box (Window.showModalDialog() in IE). Enter some text in the editor. Use the 'Select All' toolbar button, and note that all content is correctly selected. Deselect the content. Now press Ctrl-A. Note that content is NOT selected.

Load the same page in a normal window. Repeat the above steps. Note that Ctrl-A does now select all of the content.

Attachments (3)

modal.html (290 bytes) - added by Artur Formella 16 years ago.
Page1.html (451 bytes) - added by Jakub Ś 13 years ago.
Page2.html (405 bytes) - added by Jakub Ś 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by Artur Formella

Attachment: modal.html added

comment:1 Changed 16 years ago by Artur Formella

Keywords: Confirmed IE added
Version: FCKeditor 2.3.2

Confirmed in IE7, in FF3 works fine. To reproduce insert modal.html to _samples/html.

comment:2 Changed 13 years ago by Jakub Ś

Version: FCKeditor 2.3.23.0

Enter some text in the editor. Use the 'Select All' toolbar button, and note that all content is correctly selected. Deselect the content by clicking inside editor. Now press Ctrl-A. Note that content is NOT selected.

This TC is still reproducible in all IE browsers under latest CKEditor 3.6.2.

To reproduce just put Page1.html and Page2.html into samples folder, open Page1.html in a browser and apply the TC quoted above.

Changed 13 years ago by Jakub Ś

Attachment: Page1.html added

Changed 13 years ago by Jakub Ś

Attachment: Page2.html added

comment:3 Changed 13 years ago by Jakub Ś

There is a similar issue concerning usage of showModalDialog() in IE - #7175

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