开发者

How to enter break in Sitecore RichText editor?

开发者 https://www.devze.com 2023-01-06 23:30 出处:网络
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 m

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"/>
0

精彩评论

暂无评论...
验证码 换一张
取 消