Opened 14 years ago
Closed 12 years ago
#5934 closed Bug (duplicate)
Scroll on pasting to long block
Reported by: | Karen Ananiev | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.3.1 |
Keywords: | Cc: |
Description
- Create formatted block
- Paste long code (it should be longer then viewport of the editor)
- Scroll the content
- Copy/paste something -> content will be scrolled
The same behavior for long paragraphs.
Attachments (1)
Change History (4)
comment:1 Changed 14 years ago by
Keywords: | Pending added |
---|
comment:2 Changed 14 years ago by
You can use the any css file of ckeditor for example. I've attached the source. Scroll the content to the middle, select any word and try to paste it. The content will be scrolled.
The problem is with styles of pastebin element in clipboard plugin:
top : sel.getStartElement().getDocumentPosition().y
In this case element position is out of the viewport.
Could you please provide content of your editor before and after the paste ? I'm not sure i fully understand the case.
I would say that scrolling to end of the paste is a feature, not an issue.