Opened 15 years ago
Closed 15 years ago
#6100 closed Bug (fixed)
BIDI: when we change Table language direction indentation of text in Table cells is not applied correctly.
Reported by: | Satya Minnekanti | Owned by: | Tobiasz Cudnik |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.4.2 |
Component: | General | Version: | 3.3 |
Keywords: | IBM | Cc: | Damian, joek |
Description
To reproduce the defect:
- Open Ajax sample.
- Insert a Table and enter text in all Table cells, Indent the text in few cells.
- Activate Context menu and select Table properties option.
- In the Table Properties dialog on Advanced Tab, change the Language direction of the Table to Right to Left(RTL) and click OK button.
Expected Result:
Table language direction is changed to right,Table cells should be shown as reversed,Table Cells & text in Table cells should appear as a mirror image of Table in previous step and indentation for Paragraphs in Table cells should be changed from left to right.
Actual Result:
Table language direction is changed to right,Table cells are shown as reversed,Table Cells & text in Table cells are appearing as a mirror image of Table in previous step but the indentation for Paragraphs in Table cells still shown as left.
Attachments (3)
Change History (19)
Changed 15 years ago by
Attachment: | Screenshot_6100.png added |
---|
comment:1 follow-up: 2 Changed 15 years ago by
Status: | new → pending |
---|
It WFM here. Maybe I simply didn't understand the issue. So, just to be sure, I've attached screenshots of the editor, before and after changing the table direction.
Should we have anything different here?
comment:2 Changed 15 years ago by
Replying to fredck:
It WFM here. Maybe I simply didn't understand the issue. So, just to be sure, I've attached screenshots of the editor, before and after changing the table direction.
Should we have anything different here?
we are talking about indentation of the text in Table cells and it's not changing when you change language direction.you have not applied any indentation to the text in your Table cells.
look at step 2 i have asked to apply some indentation to the text in few cells.
comment:3 Changed 15 years ago by
Status: | pending → confirmed |
---|
Ok, my fault. Step 2 has two steps on it, and the second got unobserved.
The problem is that the dialog doesn't perform the same margin switching procedure that is instead executed by the BiDi buttons.
It looks like we'll have to implement a generic solution for it, controlled by the indentation plugin, so we make this feature more generic.
comment:4 Changed 15 years ago by
I think we just miss lang switch event, to which other plugins could subscribe their content changes.
comment:5 Changed 15 years ago by
Something similar to the event we've introduced for the Remove Format feature would do. So, whenever some code changes the direction of an element, the "dirChanged" event is fired.
comment:6 Changed 15 years ago by
Owner: | set to Tobiasz Cudnik |
---|---|
Status: | confirmed → assigned |
Changed 15 years ago by
Attachment: | 6100.patch added |
---|
comment:7 Changed 15 years ago by
Status: | assigned → review |
---|
comment:9 Changed 15 years ago by
Replying to damo:
Can we assign this to 3.4.2?
Ok as it's quite a small change, right now we'll not be adding any more to 3.4.2.
comment:10 Changed 15 years ago by
Milestone: | → CKEditor 3.4.2 |
---|---|
Status: | review → review_passed |
comment:11 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [5954].
comment:12 Changed 15 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Changeset is broken new table creation, revert with [5959], patch must be revised.
comment:13 Changed 15 years ago by
Status: | reopened → confirmed |
---|
Changed 15 years ago by
Attachment: | 6100_2.patch added |
---|
comment:14 Changed 15 years ago by
Status: | confirmed → review |
---|
The reason was lack of a parent during the table creation. Ive added a dedicated check for this situation.
comment:15 Changed 15 years ago by
Status: | review → review_passed |
---|
comment:16 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [5968].
Screenshot with the current results.