Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9602 closed Bug (duplicate)

inline editor position is not anchored to contenteditable when there's dynamic content

Reported by: alfred_c Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 4.0
Keywords: Cc:

Description

problem: in the case where an inline editor is created via javascript and activated by clicking inside the contenteditable div, but then dynamic content pushes down or pulls up the contenteditable div, the inline editor is displayed in the wrong location.

expected: inline editor should be anchored to the contenteditable div, or position refreshed when activated, even if the position of the contenteditable div changes on the page.

run attached code sample for demonstration of behavior. just put inside the ckeditor folder alongside ckeditor.js

execution steps: 1) run page 2) click inside the contenteditable div to activate the editor 3) click "add space" to push down the contenteditable div 4) click inside the contenteditable div and observe the incorrect editor position

Attachments (1)

contenteditable.html (1.7 KB) - added by alfred_c 12 years ago.
sample

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by alfred_c

Attachment: contenteditable.html added

sample

comment:1 Changed 12 years ago by Alexander

I think this ticket is related to this one https://dev.ckeditor.com/ticket/9899

comment:2 Changed 12 years ago by Jakub Ś

Resolution: duplicate
Status: newclosed

This is actually DUP of #9816 which may have same solution as #9899

@alexander.k I have put your sample to #9816

comment:3 Changed 12 years ago by Alexander

Just for clarification - it is sample of alfred_c. I've just reported about possible duplicate.

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