custom rich text editor default behavior

2 posts, 0 answers
  1. ShareDocs
    ShareDocs avatar
    81 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?


    gita, sharedocs

  2. Hristo
    Hristo avatar
    1068 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.

    Hristo Merdjanov
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top