Right to left editor and Format Code Block issue

6 posts, 1 answers
  1. Libertad
    Libertad avatar
    53 posts
    Member since:
    Sep 2008

    Posted 14 Aug 2010 Link to this post

    Hi there
    when the editor is in right to left mode Format Code Block tool also adds code snippets in right to left and even in the right side of the editor.
    as you know all the programming languages are in English so the Format Code Block have to be in LTR mode and doesn't changed when editor goes to RTL.
    hope this will be fixed in next build.
    Thanks.
  2. Libertad
    Libertad avatar
    53 posts
    Member since:
    Sep 2008

    Posted 16 Aug 2010 Link to this post

    it can be fixed by automatically adding dir="LTR" in div or simply changing the reCodeBlock css file.
    by now I'm adding dir="ltr" in div manully when I add code snippet in my left toright content which this is tedious.

     

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Libertad
    Libertad avatar
    53 posts
    Member since:
    Sep 2008

    Posted 16 Aug 2010 Link to this post

    it can be fixed by automatically adding dir="LTR" in div or simply changing the reCodeBlock css file.
    by now I'm adding dir="ltr" in div manully when I add code snippet in my left toright content which this is tedious.

     

  5. Answer
    Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 18 Aug 2010 Link to this post

    Hi Libertad,

    Another way to fix the problem is to modify the content inserted by the FormatCodeBlock tool in the OnClientPasteHtml event of RadEditor. More information about this useful event is available in this live demo: OnClientPasteHtml.

    Sincerely yours,
    Rumen
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Daniel
    Daniel avatar
    1 posts
    Member since:
    Dec 2010

    Posted 12 Dec 2010 Link to this post

    I have right to left problem and I don't understand how to fix it(actually I am not experienced user).
    Please explain what does it mean div.
  7. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 15 Dec 2010 Link to this post

    Hello Daniel,

    Can you please explain what is the exact problem and attach a couple of screenshots that demonstrate how to reproduce it?

    Best regards,
    Rumen
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017