Sitecore RichTextEditor - Indent Button

2 posts, 0 answers
  1. Emad
    Emad avatar
    2 posts
    Member since:
    Feb 2014

    Posted 25 Feb 2014 Link to this post

    I'm having a problem when clicking on the indent button in RichTextEditor in sitecore. Clicking the button produces a <blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"> ... </blockquote> tag, because it's the TelerikRad control that spits out this code. The <blockquote> tag causes an actual quote (") to show on the page. I just want the text to indent, not show a quote.

    How can I override this behavior in TelerikRad control to produce maybe a <span> tag with indentation styling, or a <p> tag with indentation styling, rather than a <blockquote> tag?

    Is there maybe some sitecore configuration setting I can modify to change the indent button's behavior to spit out a <span> or <p> tag instead of a <blockquote>?

  2. Ianko
    Ianko avatar
    1935 posts

    Posted 26 Feb 2014 Link to this post

    Hello Emad,

    I would like to inform you that we do not support Sitecore products and I am unable to provide a firm answer how Sitecore's configuration could affect our controls. Also you should be aware that the integration of our controls with third-party CMS environment is not supported and it you should try getting proper assistance in the corresponding CMS's forum.

    About the certain problem with the indentation, I can assure you that the Telerik editor is placing a proper element with the proper stylization. Putting a blockquote tag is a faulty behavior and I can only assume how our control could behave so. You can test the RadEditor by following this example.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top