Roundcube Community Forum

Release Support => Pending Issues => Topic started by: asorals on May 21, 2011, 10:14:06 AM

Title: Auto Double Spacing in HTML Mode
Post by: asorals on May 21, 2011, 10:14:06 AM
Is there any way to eliminate

this double spacing in HTML mode?

Thank you.

Steve
Title: Auto Double Spacing in HTML Mode
Post by: bburg on May 21, 2011, 07:59:46 PM
Press Shift-Enter instead of Enter.
Title: Re: Auto Double Spacing in HTML Mode
Post by: hce_ on February 28, 2013, 12:52:08 AM
or to flip the default modes (shift+enter creates double space) then add the following lines to program/js/editor.js conf var starting at line 23

forced_root_block : false,
force_br_newlines : true,
force_p_newlines : false,

(note, remove that last comma if these are the final three conf entries)

(second note, I've only tested this in v0.8.5)

thanks Roundcube team, well done.