Opened 8 years ago

Last modified 8 years ago

#7782 confirmed Bug

[Minor] Selection bug in IE8

Reported by: Brandon Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IE8 Cc:

Description

Holding "shift" + "ctrl" allows you to select entire words at a time. You can select one word with your mouse, and then hold shift+ctrl+(right arrow) to select words within the editor.

In IE8, something prevents this from working correctly in ckeditor.

You can duplicate this in 3.5.3 on the online demo: http://ckeditor.com/demo

Steps to reproduce (using IE8, this works fine in Firefox 4): 1) Use your mouse to highlight the word "Little". 2) Hold down shift+ctrl on your keyboard and hit the right arrow. The space next to "Little" is selected. 3) Keep hitting the right arrow. Words/spaces will be selected up until the quotation mark (") starting the first paragraph. 4) Bug: The editor does not allow words past this quote mark to be selected.

You cannot see my keyboard strokes in this video, but this is what happens: http://screencast.com/t/sHFTZHP1zmF . I have continued hitting the right arrow (several times) when I reach the quotation mark in the first paragraph but nothing is selected after this point.

Of interest (not sure if this helps or not), if you view the source code of the editor, this text is wrapped with <b> bold tags, while "International Names" is wrapped with <strong> strong tags. If you select "adaptations" in the first paragraph and hold shift + ctrl and hit the right arrow, you are able to correctly select the "International Names" text and continue selecting further text beyond this. My testing indicates this happens with the <b> and <i> tags specifically, so the issue may have to do with using these tags specifically. In any event, you can duplicate in the online demo with the text pre-filled.

Change History (1)

comment:1 Changed 8 years ago by Jakub Ś

Keywords: IE8 added
Status: newconfirmed
Version: 3.5.33.0

I don't think this is because of <b> tags, changing tags to <storng> in frase "Little Red Riding Hood" doesn't help. What is more when you select text with SHIT+CRTL+-> or you only jump using CRTL+-> you also stop on a link (e.g. "fairy tale" on demo page).

If you add text before and after "International Names" so that it looks like this in source mode:

<caption>ss <strong>International Names</strong> ss</caption>

you won't be able to select or pass "International".

This issue is IE8 specific and it occurs only when you use CRTL button. Other keyboard selections are working fine.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy