That oncarriagereturns doesnt apply to me.
The <p> tag is coming in becuase users cut and paste text. I need to allow users to cut and paste.
I get a <p> tag at the begining of the text and a </p> tag at the end of the text. Any way to not have that?
If there isnt a cuteeditor.net built in way. I was trying to do a:
Replace(ceBlurbText.Text, "<p>", "")
But that didnt work either. For me obviously the <p> tags wont show up on the Normal view, but are there in the html view since its an html tag. Any ideas why the replace function wont work???
PS I dont know where the <p> tags show up on cut and paste. I am trying to cut and paste from notepad so no formatting is being set. I have the oncarriagereturn set to br because I want line breaks upon enter and not <p>. This works fine. But I get that extra set of <p>tag at the begining and a </p> tag at the end of the text. I really need help getting this to not go in. Hence I tried the replace function as a last resort. But that doesnt work either. Any replace built in function in the cuteeditor?
Thanks