By Default when you press enter in Sitecore RTE. It will generate <p> <br/> </p> tag. If you dont want it to generate paragraph text and you just want <br/> tags while pressing RTE. You can change below settings.
<!-- HTML EDITOR LINE BREAK
Specifies the tag that the HTML editor inserts on Enter. Values can be
"br", "div" and "p".
-->
<setting name="HtmlEditor.LineBreak" value="br" />
<!-- HTML EDITOR LINE BREAK
Specifies the tag that the HTML editor inserts on Enter. Values can be
"br", "div" and "p".
-->
<setting name="HtmlEditor.LineBreak" value="br" />
No comments:
Post a Comment