#5667 closed Bug (fixed)
Pasting in an RTL page causes the editor to scroll erratically
| Reported by: | Sa'ar Zac Elias | Owned by: | Garry Yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.3 |
| Component: | Core : Pasting | Version: | SVN (CKEditor) - OLD |
| Keywords: | Confirmed Review+ | Cc: |
Description
Though reproducible in all browsers, the bug is most noticable in IE.
Steps to reproduce
- Open a sample page in RTL mode.
- Paste some content inside the editor.
Notice that the scrollbar behaves erratically. As long as you paste more data or faster, longer the time the scrollbar appears.
This bug does not occur in 3.2.1.
Attachments (1)
Change History (7)
comment:1 Changed 16 years ago by
| Milestone: | CKEditor 3.3 |
|---|
comment:2 Changed 16 years ago by
| Milestone: | → CKEditor 3.3 |
|---|
Sorry, I mistakenly thought the cause to this problem is the RTL page, but it seems that the cause is the contentsLangDirection : 'rtl' definition.
If you paste you'll notice that the horizontal scrollbar is jumping to the left. You will also notice that there is an element selected and focused.
Regression of [5224], so targeting to 3.3.
Changed 16 years ago by
| Attachment: | 5667.patch added |
|---|
comment:3 Changed 16 years ago by
| Keywords: | Confirmed Review? added |
|---|---|
| Owner: | set to Garry Yao |
| Status: | new → assigned |
comment:4 Changed 16 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
comment:6 Changed 14 years ago by
It still cause problem when the ckeditor is on the middle of scrollbar. After delete the
pastebin.setStyle( this.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-1000px' );
it is fine. Why we need that line of code?

Can you please provide more details than 'erratically'?