Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Customizing WebHTMLEditor Line Breaks
posted

I am using the WebHTMLEditor control and setting the UseLineBreak property to false so that <P> tags are inserted when the user presses the Enter key. Is there any way of applying a custom default style to these <P> tags, so that when the user presses the Enter key the formatted <P> tag gets inserted?

For example, if i don't want the margins surrounding each paragraph i would want the following as the default tag:

<P style="MARGIN:0px; PADDING:0px">