Opened 13 years ago

Last modified 13 years ago

#8160 confirmed Bug

Text selection disappears when open dialogs

Reported by: syn4k Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: 3.0
Keywords: Cc: noorsulayman@…

Description

Every single time I select some text, it becomes unlselected when using the paragraph formatting dropdown, changing text to a link, etc.

Firefox 3.6.17, 3.6.18 on CKEditor version: 3.54. CKEditor 3.5.4 (revision 6899)

Here is a demo showing you how link button is breaking: http://screencast.com/t/lvyePQDI9A

Here is a demo showing you how the paragraph formatting dropdown is breaking: http://screencast.com/t/wBo3O7aoj

You will see this is an exact replica of the issue here: http://dev.ckeditor.com/ticket/5780. I was told to create a new ticket for this issue.

Attachments (3)

use-case.zip (4.0 KB) - added by syn4k 13 years ago.
Test (index.php)
use-case2.zip (3.1 KB) - added by syn4k 13 years ago.
Shadowbox example
text-editor.html (3.1 KB) - added by Jakub Ś 13 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by Jakub Ś

Status: newpending

I think I will be needing more information on this one because I was not able to reproduce it.

  1. What operating system are you using?
  2. Have you tested this problem in default sample of CKEditor or you have used your configuration settings? If so, what settings have you used?
  3. Does it occur in clean version of CKEditor or in integration with Java, PHP etc.

4.What doctype, if any, are you using on your HTML page?

Any sample files that will help us to reproduce the issue are welcome.

Last edited 13 years ago by Jakub Ś (previous) (diff)

Changed 13 years ago by syn4k

Attachment: use-case.zip added

Test (index.php)

comment:2 Changed 13 years ago by syn4k

I have attached a testing script which uses the CKEditor 3.6.1 library and jQuery 1.4.2. Start the program using index.php. Two seconds later, the editor will open up. The reason for this behavior is that my end users can click on an item of text in a page and it automatically creates the text-editor script which then allows updates to the text item.

To my knowledge, the issue happens on all operating systems. The settings and the doctype are all included in the attachment.

Last edited 13 years ago by syn4k (previous) (diff)

Changed 13 years ago by syn4k

Attachment: use-case2.zip added

Shadowbox example

comment:3 Changed 13 years ago by syn4k

This is also broken when using shadowbox. You can see this using the second attachment I created. This to me, rules out the possibility that the popup behavior is the problem.

Version 0, edited 13 years ago by syn4k (next)

Changed 13 years ago by Jakub Ś

Attachment: text-editor.html added

comment:4 Changed 13 years ago by Jakub Ś

Status: pendingconfirmed
Version: 3.5.43.0

@syn4k Thank you for the sample it was very helpful.

I have modified a little bit the file provided and it seems that the line 48 of text-editor.html file is causing the problem.

$('#cke_contents_editor1').css('overflow', 'hidden');

With this setting text gets unselected in Firefox all versions (3.6 - 5) and in IE all versions (6-9). Issue is reproducible from CKE 3.0.

comment:5 Changed 13 years ago by syn4k

@j.swiderski, Thank you for identifying this!

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