Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Roundcube Community Forum
»
Release Support
»
Pending Issues
»
Line spacing is to big in email editor
« previous
next »
Print
Pages: [
1
]
Author
Topic: Line spacing is to big in email editor (Read 18966 times)
sergiocarvalho
Newbie
Posts: 2
Line spacing is to big in email editor
«
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
Logged
Yoni
Full Member
Posts: 164
Re: Line spacing is to big in email editor
«
Reply #1 on:
May 10, 2013, 06:34:59 PM »
Press Shift+Enter for single line.
Logged
MyRoundcube Plugins
Roundcube Webmail Demo 1
Roundcube Webmail Demo 2
MyRoundcube Community forum
sergiocarvalho
Newbie
Posts: 2
Re: Line spacing is to big in email editor
«
Reply #2 on:
May 10, 2013, 07:08:28 PM »
Thank you very much Yoni! That's exactly what I was looking for.
Kind regards,
Sergio Carvalho
Logged
johnwayne
Jr. Member
Posts: 21
Re: Line spacing is to big in email editor
«
Reply #3 on:
August 13, 2016, 06:48:21 PM »
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.
Logged
JohnMaster
Newbie
Posts: 8
Re: Line spacing is to big in email editor
«
Reply #4 on:
January 26, 2017, 09:00:27 PM »
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?
Logged
JohnDoh
Global Moderator
Hero Member
Posts: 2,866
Re: Line spacing is to big in email editor
«
Reply #5 on:
January 28, 2017, 03:36:50 AM »
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
Logged
Roundcube Plugins
: Contextmenu, SpamAssassin Prefs, and moreā¦
JohnMaster
Newbie
Posts: 8
Re: Line spacing is to big in email editor
«
Reply #6 on:
January 28, 2017, 09:58:25 PM »
Thank you, JohnDoh. Helps immensely.
Logged
JohnMaster
Newbie
Posts: 8
Re: Line spacing is to big in email editor
«
Reply #7 on:
March 18, 2017, 02:18:55 AM »
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
«
Last Edit: March 18, 2017, 09:31:38 PM by JohnMaster
»
Logged
manwithahammer
Newbie
Posts: 1
Re: Line spacing is to big in email editor
«
Reply #8 on:
August 09, 2023, 12:27:46 PM »
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.
Logged
Print
Pages: [
1
]
« previous
next »
Roundcube Community Forum
»
Release Support
»
Pending Issues
»
Line spacing is to big in email editor