Opened 14 years ago
Last modified 14 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)
Change History (8)
comment:1 Changed 14 years ago by
Status: | new → pending |
---|
comment:2 Changed 14 years ago by
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.
comment:3 Changed 14 years ago by
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 since Shadowbox does not create popups.
Changed 14 years ago by
Attachment: | text-editor.html added |
---|
comment:4 Changed 14 years ago by
Status: | pending → confirmed |
---|---|
Version: | 3.5.4 → 3.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.
I think I will be needing more information on this one because I was not able to reproduce it.
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.