custom rich text editor default behavior

4 posts, 0 answers
  1. ShareDocs
    ShareDocs avatar
    91 posts
    Member since:
    Oct 2012

    Posted 11 Apr 2016 Link to this post

    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

  2. Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 11 Apr 2016 Link to this post

    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.
  3. ShareDocs
    ShareDocs avatar
    91 posts
    Member since:
    Oct 2012

    Posted 22 Nov 2018 in reply to Hristo Link to this post

    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

     

  4. Tanya
    Admin
    Tanya avatar
    857 posts

    Posted 26 Nov 2018 Link to this post

    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 onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top