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

custom rich text editor default behavior

3 Answers 252 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
ShareDocs
Top achievements
Rank 1
ShareDocs asked on 11 Apr 2016, 09:04 AM

hello telerik!

i have a rich text editor in my application, (the user fill text and it save in database),

I want that the default direction will be right to left - align to right
but it comeback all the time to left,

Additionally, when i load text to rich text editor is also align to left

How can i do that?

thanks

gita, sharedocs

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 11 Apr 2016, 04:28 PM
Hi Gita,

Thank you for writing.

RadRichTextEditor supports a right-to-left mode. If you import a document which has been saved as RTL then it would also be displayed as RTL by the editor. You can also explicitly set it by accessing the editor`s RightToLeft property: 
this.radRichTextEditor1.RightToLeft = System.Windows.Forms.RightToLeft.No;

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
ShareDocs
Top achievements
Rank 1
answered on 22 Nov 2018, 08:13 AM

Hello,

I have some problems with RadRictTextEditor when RightToLeft = Yes :

1. When I write a word in brackets with a space between the word and parentheses, the brackets are reversed. (Attached picture)

2. A sentence with words in Hebrew and English, there is no space between words. (Attached picture)

Thanks Gita

 

0
Tanya
Telerik team
answered on 26 Nov 2018, 11:46 AM
Hi Gita,

There is a known issue in the rendering of right-to-left content in RadRichTextEditor. We have it logged on our public portal and you can subscribe to track the status of the task using the related item: Incorrect layout and export of bi-directional text containing neutral or weak bi-directional characters. I am afraid that we couldn't find a workaround for this behavior. I am sorry for the inconvenience this might be causing you.

Regards,
Tanya
Progress Telerik
Get quickly and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RichTextEditor
Asked by
ShareDocs
Top achievements
Rank 1
Answers by
Hristo
Telerik team
ShareDocs
Top achievements
Rank 1
Tanya
Telerik team
Share this question
or