This is a migrated thread and some comments may be shown as answers.

Number List Arabic Support

14 Answers 107 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Zeliha
Top achievements
Rank 1
Zeliha asked on 19 Jun 2020, 02:28 PM

Hi,

Does editor number list control has arabic language support?

I attached a picture about which control i am asking about.

Thanks and have a nice forums.

14 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Jun 2020, 05:31 AM

Hi Zeliha,

Thank you for your question!

Yes, RadEditor offers full RTL support including the ordered and unordered list features. You can see how to configure RadEditor in RTL mode on  - https://demos.telerik.com/aspnet-ajax/editor/examples/righttoleft/defaultcs.aspx

 

Best Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Zeliha
Top achievements
Rank 1
answered on 22 Jun 2020, 08:04 AM

Hi Rumen,

I tested list features but i got a result like in the attached file. Can you help me?

Regards,

 

0
Rumen
Telerik team
answered on 22 Jun 2020, 08:41 AM

Hi Zeliha,

This is how the browser renders the rtl bullets.

Can you please modify the markup in this sample to show the desired result and also provide a screenshot of how exactly you'd expect the ordered lists to be rendered: http://jsfiddle.net/wq7fza45/1/

 

 

Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Zeliha
Top achievements
Rank 1
answered on 22 Jun 2020, 09:36 AM

Hi Rumen,

I expect like this issue's attachment.(https://www.telerik.com/forums/how-to-use-arabic-numbers-in-numbered-lists) I have same problem. Okey, writes right to left but it is latin numbers. i want arabic numbers at bullet list but i couldn't.

Regards,

0
Rumen
Telerik team
answered on 22 Jun 2020, 12:35 PM

Hi again,

Thank you for the clarification!

To apply Arabic numbers to the list you need to import the following class

ol {list-style: arabic-indic;}

via the CssFiles property of the control.

This demo will explain how to do that in detail: Customize content area.

 

Best Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Zeliha
Top achievements
Rank 1
answered on 22 Jun 2020, 01:01 PM

Hi Rumen,

It works. Thanks for your help.

Regards,

0
Zeliha
Top achievements
Rank 1
answered on 08 Jul 2020, 07:25 AM

Hi Rumen,

I have another problem. I added css('list-style', 'arabic-indic'); and it worked writing to editor. But when i pasting from microsoft word (from attached file) it seems like attached png file (list.png). PS:Word's language is arabic (Jordan).

Regards,

0
Rumen
Telerik team
answered on 08 Jul 2020, 12:18 PM

Hi Zeliha,

I hope you are doing well!

Would it be possible to send me the Word document using the attachment functionality of our ticketing system?

This is much appreciated and will help me to reproduce the reported scenario!

Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Zeliha
Top achievements
Rank 1
answered on 08 Jul 2020, 01:08 PM

Hi Rumen,

I couldn't attach word file because attach files control doesn't allow.  Can you tell another options? I can send with mail, can you share mail address?

Regards,

0
Rumen
Telerik team
answered on 08 Jul 2020, 01:37 PM

Hello,

You can provide the file via dropbox, or by simply zipping it and renaming the extension to jpg.

If this does not work for you, please send it to rumen.zhekov [at]  progress.com.

Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Zeliha
Top achievements
Rank 1
answered on 08 Jul 2020, 02:14 PM

Hi Rumen,

I choosed second way :) you can rename it extension to zip.

Regards,

0
Rumen
Telerik team
answered on 08 Jul 2020, 03:26 PM

Thank you for the provided file, Zeliha :)

Please find attached a video demonstrating what is coming from the clipboard. You will see that if you have this class

<style>ol {list-style: arabic-indic;}</style> applied to the content area and you strip the word formatting, the lists will be visualized in Arabic.

If the content is pasted as it is coming from the clipboard, the contents from Word simply contain normal numbers, but not Arabic ones.

 

Regards,
Rumen
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Zeliha
Top achievements
Rank 1
answered on 04 Mar 2021, 11:30 AM

Hi Rumen,

I have new scenario. First problem fixed but, when i wrote arabic number at MS Word and then paste to Radeditor it is working like at attached files (1.png and 2.png). It replacing arabic numbers to latin numbers. Can you help me?

Ps: I zipped files and renamed the extension to jpg.
Regards,

0
Rumen
Telerik team
answered on 04 Mar 2021, 12:55 PM

Hi Zeliha,

I loaded the provided Word file and noticed that there aren't Arabic numbers but standard latin ones:

 

I also compared the two screenshots 1 and 3 from the zip file and noticed that in both screenshots the letters are Arabic, can you please double check this:

What you can do is to attach to the OnClientPasteHtml event of RadEditor and see what is coming from the clipboard in the args.get_value() method. You can further modify the content before it gets pasted in the editor.

Regards,
Rumen
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Editor
Asked by
Zeliha
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Zeliha
Top achievements
Rank 1
Share this question
or