Opened 5 years ago

Closed 2 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:

  1. Open replacebyclass.html sample.
  2. Type a long continuous line of characters to make the horizontal scrollbar appear in the editor.
  3. 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 5 years ago by Jakub Ś

Component: GeneralCore : BiDi
Status: newconfirmed
Version: 4.13.4

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.

comment:2 Changed 5 years ago by Jakub Ś

Keywords: Oracle added
Version: 3.43.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:3 Changed 5 years ago by Jakub Ś

#10825 was marked as duplicate.

comment:4 Changed 5 years ago by Jakub Ś

Similar issue: #7923.

comment:5 Changed 5 years ago by Frederico Caldeira Knabben

I have the impression that this is mainly a browser bug than a CKEditor issue.

comment:6 Changed 4 years ago by Mohammad Ebrahim Mohammadi Panah

Cc: ebrahim@… added

comment:7 Changed 3 years ago by Piotrek Koszuliński

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 3 years ago by Anna Tomanek

Summary: BIDI: Horizontal scrollbar is missing in RTL mode[Bidi] Lack of scrollbar in the RTL text direction

comment:9 Changed 2 years ago by Marek Lewandowski

Milestone: CKEditor 4.5.9

comment:10 Changed 2 years ago by Tade0

Owner: set to Tade0
Status: confirmedreview

Cherry-picked changes made previously by m.lewandowski and t.jakut.

Changes pushed to branch:t/10448.

comment:11 Changed 2 years ago by Marek Lewandowski

Milestone: CKEditor 4.5.9CKEditor 4.5.8

comment:12 Changed 2 years ago by Marek Lewandowski

Status: reviewreview_passed

comment:13 Changed 2 years ago by Marek Lewandowski

Resolution: fixed
Status: review_passedclosed

Fixed with git:b6664099c0 (merged to master).

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy