Try Now
More in this section

Forums / General Discussions / Forcing the editor to wrap text in paragraph <p> tags by default

Forcing the editor to wrap text in paragraph &lt;p&gt; tags by default

3 posts, 0 answered
  1. Mike Badgley
    Mike Badgley avatar
    4 posts
    01 Oct 2009
    15 Jan 2010
    Link to this post
    I'm having problems in having the content editor (Generic Content) mark-up my content properly. No matter if I type it in directly, or paste it in from another application, it will not wrap the text with paragraph tags. Instead, all I get is a series of <br> tags between each paragraph.

    Does anyone know what configuration setting I can use so that by default when I start typing, or if I paste some plain text in, it will wrap each paragraph accordingly?
  2. Phill Hodgkinson
    Phill Hodgkinson avatar
    362 posts
    10 Nov 2004
    15 Jan 2010
    Link to this post
    I don't have an answer for you but now that I've seen that pic I gotta go get me a Timmies!

    If you haven't tried yet, maybe take a peak over at Telerik.com support forums, since it's the RadEditor I'm sure this question has been asked there.

  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    17 Jan 2010
    Link to this post
    Hello Mike,

    You could try to use OnClientPasteHtml event when you are pasting some content.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
3 posts, 0 answered