Re: Adding text doesn't insert p tag unless you hit return

  •  07-29-2010, 6:13 AM

    Re: Adding text doesn't insert p tag unless you hit return

    Sorry, you misunderstand my problem, Itihnk.
     
    I don't want them to have to press any button to add a p tag etc.
     
    If you goto  http://www.southerncreative.co.uk/Building_a_CRM_for_small_businesses-bl27.htm you will see a blog system that we are currently building into our cms using your editor.
     
    Notice the comments that are not in white but black text.  These ones have no p tag around them.
     
    One solution i have found is having some text already in the editor box as it loads ie """editor.Text = "enter your comment here"""""    wHAT THIS DOES IS AUTOMATICALLY PUT P TAGS INTO THE PAGE AND ALL WORKS WELL
     
    Without this predefined text in place when the form loads, just entering text doesnt add p or div tags.
     
     

    Ian Phillips
    Development and Project Management
View Complete Thread