Opened 3 years ago

Last modified 3 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)

CKEditor_ArabicNumShaping.pdf (62.3 KB) - added by Tomer Mahlin 3 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 3 years ago by edithk

Please consider this code patch as a solution for this issue:

https://github.com/ckeditor/ckeditor-dev/pull/240

Changed 3 years ago by Tomer Mahlin

comment:2 Changed 3 years ago by Tomer Mahlin

The attached file above provides: (1) list of requirements (2) high level functional specification (how the feature look like from end user perspective).

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