Roundcube Community Forum
Release Support => Pending Issues => Topic started by: sergiocarvalho on May 10, 2013, 02:00:55 PM
-
Whenever I start building an email and hit enter to create a paragraph, the space between the lines is to big.
How can I decrease or remove the line spacing from emails I build?
Thank you,
Sergio Carvalho
-
Press Shift+Enter for single line.
-
Thank you very much Yoni! That's exactly what I was looking for.
Kind regards,
Sergio Carvalho
-
in roundcube 1.1.0 in program/js/tinymce/skins/lightgray/content.min.css before the first entry of td,th{} enter "p{padding:0;margin:0}" without the quotemarks.
-
I'm currently using 1.2.3. Is there a way to edit the default behaviour similar to what johnwayne purposed in 1.1.0?
-
you can edit the tinymce config in this file https://github.com/roundcube/roundcubemail/blob/master/program/js/editor.js#L40 and add `forced_root_blocks: false`, see http://archive.tinymce.com/wiki.php/Configuration:forced_root_block
-
Thank you, JohnDoh. Helps immensely.
-
Unfortunately, I didn't confirm it working and moved on to other issues. Apparently, forced_root_block doesn't work any more.
'forced_root_block: false' deprecated.
https://github.com/tinymce/tinymce/issues/2634
EDIT: Bounty added. https://www.bountysource.com/issues/29934196-is-forced_root_block-false-deprecated
-
This actually works, but you have to add "forced_root_block: false" to the minified version of the editor, editor.min.js. Search for anchor_top, and add it right after that.