kartoo
15 October 2024 17:49
1
Operating system
Windows
Joplin version
2.13.8
Desktop version info
3.1.18
Sync target
File system
Editor
Rich Text Editor
What issue do you have?
Is there a way to lower the line spacing (after pressing enter) in the rich editor? The lines are far too apart and using a lot of unnecessary space for nothing.
Screenshots
2 Likes
webguy
15 October 2024 21:23
2
You can use "shift + enter" to reduce it with a keyboard on a desktop (like Windows).
I don't know about mobile & I wish there was just a default setting which we could set.
1 Like
muzak
16 October 2024 02:49
3
I updated my reply on how to lower line spacing:
Joplin increases line spacing for various elements with margins and padding. You may want tighter spacing whether you use Markdown or Rich Text.
Pressing Shift+Enter tightens Rich Text line spacing on desktop and mobile, but it can become cumbersome.
A desktop workaround is to add this CSS template to userstyle.css, then modify it to your needs:
/* duplicate rule with different HTML tags and declarations as needed */
#rendered-md :is(p /* modify tags as needed */) {
/* modify declarations b…
Let me know if it needs work or you found it helpful.
I tested Shift+Enter on mobile with a Rich Text note. It created a new line without spacing, as expected.
A toggle between new line and new paragraph for Enter could possibly resolve this issue.
1 Like
kartoo
16 October 2024 15:39
4
Thanks, I did that and I don't see any effect unfortunately.
system
Closed
15 November 2024 15:39
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.