Opened 13 years ago

Closed 12 years ago

#8600 closed Bug (expired)

iOS: it is impossible to delete text on iPad (sometimes)

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: iOS Cc: mcamden@…

Description (last modified by Wiktor Walc)

Ticket REF : 1581-PSHC-0079

We are currently testing CKEDITOR 3.6.2 on the iPad and have ran in to an issue. We executed a simple test where we typed some text, selected it, and applied bold. Then, we touched to the right of the text, got a blinking cursor, but were unable to modify the text in the document.

Steps to reproduce (on iPad 2, iOS 5):

  1. Type a line of text, 'Hello world'
  2. Select the text using a long press on the word 'world', then drag the selection around 'Hello', or press 'Select All'
  3. Press the 'bold' button
  4. Touch after the word 'world'
  5. Press the delete key

Unfortunately it doesn't seem to occur every time, so it makes me believe mobile safari isn't placing the cursor in an editable position.

Change History (9)

comment:1 Changed 13 years ago by Wiktor Walc

Cc: mcamden@… added

comment:2 Changed 13 years ago by Wiktor Walc

Description: modified (diff)

comment:3 Changed 12 years ago by Frederico Caldeira Knabben

Status: newpending

I know it is already said to be random, but I'm not able in any way to reproduce the problem with our online demo. I've tried with iOS 5.0 and iOS 5.0.1.

Do you have anything else to add, so we could try to check this here?

comment:4 Changed 12 years ago by Michael Camden

We have typically found this error occur when using CKEDITOR from a modal window. The flow is,

Open modal window which contains CKEDITOR. Click in to CKEDITOR, add some text. Close modal window.

(At this point the cursor will still flash on the screen in the same position as it was previously, even though CKEDITOR doesn't exist on the page)

Open modal window again. Click in to CKEDITOR. Try to type text, or delete and it will fail.

I believe this is actually an error with the way that Mobile Safari handles contentEditable elements within iFrames. I can reproduce this error with an example that opens a modal window that contains an iframe which then contains an editable element.

In my testing I have found the way to fix this error is to have an input element inserted in to the iframe's document then focusing and blurring on that element when you want to execute a blur event on the iframe.

comment:5 Changed 12 years ago by Frederico Caldeira Knabben

Thanks for the additional information.

At this point, I think it would be better to have you attaching a sample page we could use to reproduce it. Can you do that?

comment:6 Changed 12 years ago by Michael Camden

A good example of this behavior can be found from your demo site.

(iOS 5.0)

  1. Goto
  2. Tap on 'Little'
  3. Press the source button.

You will see the keyboard remains, the cursor remains, but you are unable to modify text.

comment:7 in reply to:  6 ; Changed 12 years ago by Frederico Caldeira Knabben

Replying to mrfr0g:

Ok, I'm able to reproduce that issue, but it is a totally different story (we're replacing the wysiwyg iframe with the source textarea). Please open another ticket for that. It is yet another iPad Safari bug.

comment:8 in reply to:  7 Changed 12 years ago by Michael Camden

Replying to fredck:

I have opened a ticket for that symptom, but I believe there is a core issue that causes both of these bugs.

comment:9 Changed 12 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
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