Opened 12 years ago
Closed 9 years ago
#10448 closed Bug (fixed)
[Bidi] Lack of scrollbar in the RTL text direction
Reported by: | Irina | Owned by: | Tade0 |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.5.8 |
Component: | Core : BiDi | Version: | 3.0 |
Keywords: | IBM Oracle | Cc: | Teresa Monahan, Satya Minnekanti, ebrahim@… |
Description
To reproduce:
- Open replacebyclass.html sample.
- Type a long continuous line of characters to make the horizontal scrollbar appear in the editor.
- Select the 'Text direction from right to left' toolbar icon.
Problem:
Horizontal scrollbar is missing and it is not possible to see the end of text.
Change History (13)
comment:1 Changed 12 years ago by
Component: | General → Core : BiDi |
---|---|
Status: | new → confirmed |
Version: | 4.1 → 3.4 |
comment:2 Changed 11 years ago by
Keywords: | Oracle added |
---|---|
Version: | 3.4 → 3.0 |
Actually problem can be reproduced from CKEditor 3.0. There is another TC from Oracle:
- Open a clean, maximized, full featured DEMO page and insert a large image. If the image not enough large for displaying horizontal scrollbar scale it.
- Select the image and press the right align button.
comment:5 Changed 11 years ago by
I have the impression that this is mainly a browser bug than a CKEditor issue.
comment:6 Changed 11 years ago by
Cc: | ebrahim@… added |
---|
comment:7 Changed 9 years ago by
The solution for this issue is to add word-wrap: break-word;
to the default contents.css
. This rule will force breaking too long words in all supported browsers. That's the only viable solution as there's no reasonable way to allow scrolling to negative offsets.
I've been also wondering what's the difference between word-wrap
and word-break
. Useful resource: http://stackoverflow.com/questions/1795109/what-is-the-difference-between-word-break-break-all-versus-word-wrap-break
comment:8 Changed 9 years ago by
Summary: | BIDI: Horizontal scrollbar is missing in RTL mode → [Bidi] Lack of scrollbar in the RTL text direction |
---|
comment:9 Changed 9 years ago by
Milestone: | → CKEditor 4.5.9 |
---|
comment:10 Changed 9 years ago by
Owner: | set to Tade0 |
---|---|
Status: | confirmed → review |
Cherry-picked changes made previously by m.lewandowski and t.jakut.
Changes pushed to branch:t/10448.
comment:11 Changed 9 years ago by
Milestone: | CKEditor 4.5.9 → CKEditor 4.5.8 |
---|
comment:12 Changed 9 years ago by
Status: | review → review_passed |
---|
comment:13 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with git:b6664099c0 (merged to master).
Problem can be reproduced from CKEditor 3.4 (when BIDI buttons were introduced) in both braches 3.x and 4.x.
Problem can be reproduced in Opera, FF and IE7-10. Webkit browsers automatically wrap such long lines so you won't see problem there.