Opened 9 years ago
Last modified 9 years ago
#14306 new New Feature
BIDI: Missing support for Arabic (Arabic Indic) numeric digits in CKEditor
Reported by: | edithk | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.6 |
Keywords: | Cc: | tomerm@… |
Description
Digits are represented in the editor by Hindu-Arabic digits (0 1 2 3 4 5 6 7 8 9 ) even for Arabic locals, without the option to convert them to Arabic-Indic digits (٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩).
We suggest to leverage on the style combo mechanism and add new styles, similar to the Language: RTL and Language LTR styles:
'Numeral: 123'
'Numeral: ١٢٣'
When 'Numeral: 123' style is activated on a selected text --> the digits in that text will be converted to Hindu-Arabic digits.
When 'Numeral: ١٢٣' style is activated on a selected text --> the digits in that text will be converted to Arabic-Indic.
I will attach shortly a link to a pull request with a patch code for your review.
Attachments (1)
Change History (3)
comment:1 Changed 9 years ago by
Changed 9 years ago by
Attachment: | CKEditor_ArabicNumShaping.pdf added |
---|
comment:2 Changed 9 years ago by
The attached file above provides: (1) list of requirements (2) high level functional specification (how the feature look like from end user perspective).
Please consider this code patch as a solution for this issue:
https://github.com/ckeditor/ckeditor-dev/pull/240