Author Topic: Line spacing is to big in email editor  (Read 18605 times)

Offline 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

Offline Yoni

  • Full Member
  • ***
  • Posts: 164
    • MyRoundcube
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.

Offline 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

Offline 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.

Offline 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?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Line spacing is to big in email editor
« Reply #5 on: January 28, 2017, 03:36:50 AM »
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline 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.

Offline 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 »

Offline 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.