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

Forums / Developing with Sitefinity / Change default setting of RadEditor in GenericContent

Change default setting of RadEditor in GenericContent

4 posts, 0 answered
  1. Michael Waters
    Michael Waters avatar
    32 posts
    Registered:
    22 Mar 2010
    17 Jun 2010
    Link to this post
    How does one change the default settings of the RadEditor when entering GenericContent.

    For example:
    When I hit my ENTER button, it adds a <p>, I would rather it add a <br/>.

    This appears to be possible based on RadEditor documentation here:
    http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultvb.aspx

    But I cannot figure out where this gets changed.

    Please help,

    Thanks,
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    17 Jun 2010
    Link to this post
    You physically mean where to add a property on the editor...like where to find that

    or how to achieve that functionality...

    This article goes into how to change it on an editor
  3. Michael Waters
    Michael Waters avatar
    32 posts
    Registered:
    22 Mar 2010
    18 Jun 2010
    Link to this post
    Steve,

    Thanks for the reply... but that doesn't help...

    I am trying to figure out how to change the property so that when I drag and drop a GenericContent control onto my website page and try to edit, the default functionality when I hit the ENTER button is to insert a <br> tag instead of the <p> tag.

    I have no idea where I set that property to make this default work.

    Do you know?

    Thanks,
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    18 Jun 2010
    Link to this post
    Try this

    http://www.sitefinitywatch.com/blog/09-04-07/Cleaning_Pasted_Content_in_RadEditor.aspx

    So that should map an external template to give you access to the RadEditor to add the Newline property
Register for webinar
4 posts, 0 answered