1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Rad Editor Custom StyleSheet

Rad Editor Custom StyleSheet

2 posts, 0 answered
  1. subodh
    subodh avatar
    24 posts
    Registered:
    25 Mar 2009
    21 Apr 2009
    Link to this post
    Hi,

    We want to give a custom styling to the text which we enter in the rad editor through the custom CSS which we developed and want to have a PREVIEW in rad editor itself.We want to overwrite the default styling of rad editor with the style sheet which we have
    For example in our CSS
    we have defined a styling for various header tags
    like
    h1
    {
    font-size:15px;
    color:yellow;
    }
    h2
    {
    font-size:12px;
    color:red;
    }

    so instead of default styling we want to have a custom styling with a preview in radeditor

    Thanks
    subodh.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 Apr 2009
    Link to this post
    Hi subodh,

    To apply the css styles you have you can add them to CssClasses collection  or add Font Size collection.
    As for the preview there is a built in option. Check out the screenshot.

    Let us know if your approach is different.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered