开发者

How to enter break in Sitecore RichText editor?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜