BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

how to modify the line spacing

Open 9acca9 opened this issue 1 year ago • 6 comments

Attempted Debugging

  • [X] I have read the debugging page

Searched GitHub Issues

  • [X] I have searched GitHub for the issue.

Describe the Scenario

I have large amounts of text on different pages and I see that it has double spacing. The only thing I want is to make simple line spacing. How can I achieve it? I can't find the option anywhere. Thank you.

Exact BookStack Version

v23.10

Log Content

No response

Hosting Environment

Manjaro

9acca9 avatar Apr 04 '24 17:04 9acca9

Hi @9acca9, Can you confirm what you specifically mean by double spacing? Ideally a screenshot as an example of the exact spacing you're looking at.

ssddanbrown avatar Apr 04 '24 20:04 ssddanbrown

Hi, thank you, this will be an example (i just wrote this, but i already have a big text like that, so i cant change by hand) I will like just "select all the text" and change the spacing lines

image

9acca9 avatar Apr 04 '24 21:04 9acca9

So you mean the spacing you get when you press enter in the editor? If so, that's because we enter starts a new section/paragraph which has some bottom margin. You can instead start a simple newline via Shift+Enter.

If you'd prefer, I can share some custom CSS code to remove the default margin but the default option provides more seperation between new sections and new lines.

ssddanbrown avatar Apr 05 '24 12:04 ssddanbrown

hi. The problem is that other person that is working in those files copy past with that format. I mean, this is not a result of somebody writing line by line. He just made a copy paste, without before change the spacing line, and now i dont know how just get rid of those in between empty lines. Thanks.

9acca9 avatar Apr 05 '24 19:04 9acca9

@9acca9 Can you not remove the paragraph via backspace, then add a newline via Shift+Enter?

ssddanbrown avatar Apr 06 '24 16:04 ssddanbrown

Would very much welcome a user setting for this. The only feature I wish Bookstack had, having to hold shift for every single new line is quite annoying. Imagining a setting in the user profile, ticket box perhaps, that set single space for new lines.

ados8 avatar Jun 16 '24 09:06 ados8