When I hit enter on a line in sitecore richtexteditor I get a new paragraph instead of a line break. I can manuall开发者_如何学JAVAy add it by editing html but how can I add line break in the Design mode itself?
Hold down the Shift key and press Enter (Shift+Enter)
The setting in web.config to change the tag inserted on enter key in RTEs is:
<!-- 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"/>
精彩评论