Opened 12 years ago
Closed 12 years ago
#10423 closed Bug (invalid)
Japanese and Chinese text-align justify not working
Reported by: | Irina | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1 |
Keywords: | IBM | Cc: | Teresa Monahan, Satya Minnekanti |
Description
Japanese/Chinese content is not justified.
Steps:
Type in some Chinese/Japanese characters.
Select the content and click 'Justify'.
Expected result: Text will be justified.
Actual result: Text is not justified, it is aligned left.
Can be reproduced in CKEditor 3.6.x and 4.x
If I remember correctly justify stretches the line of text. From editor perspective this is just adding
style="text-align: justify;"
to element like DIV or P. How browser is handling it other thing.I have noticed it doesn't matter whether you use English or Chinese. Text is justified only when you have line of text longer then editor. Only then when you use Ctrl+A and justify style you get some movement.
It works the same in plain contenteditable element without CKEditor used.
@irina I'm closing this issue as invalid but if you don't agree please feel free to leave a comment.