Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank lines disappearing after saving #5344

Open
HerbertSchulz4711 opened this issue Nov 29, 2024 · 6 comments
Open

Blank lines disappearing after saving #5344

HerbertSchulz4711 opened this issue Nov 29, 2024 · 6 comments
Labels

Comments

@HerbertSchulz4711
Copy link

Describe the Bug

Blank lines disappear after saving a page. When re-editing and re-saving it the issue is gone. If you try to re-edit and re-saving it again the issue is there. Seems like back and forth.

Steps to Reproduce

  1. Create page with text or headlines (doesn't matter) and blank lines
  2. Saving it
  3. Re-editing it

Expected Behaviour

Expected behaviour should be for the blank lines to stay

Screenshots or Additional Context

No response

Browser Details

Microsoft Edge Business 131.0.2903.70

Exact BookStack Version

BookStack v24.05.3

@ssddanbrown
Copy link
Member

Hi @HerbertSchulz4711,
Please can you take a screenshot of the blank lines you're adding in the editor, which you're expecting to remain?
Just to confirm which editor you're using, and the exact location/layout of such blank lines.

@virtadpt
Copy link

I've noticed the same thing, and I thought it was a feature, not a bug.

@Gabrielsc
Copy link

I don't know if it's the same problem as my friend, but I have something similar.

When using "Task list", you can see that I have the following page originally created:
image1

I edit this page and create a blank space as below and save it:
image2

When saving, you can see that the note is like this:
image3

When editing again, you can see that the space doesn't exist, but it's kind of hidden.
image4

When I save it again, and view the page, it looks like this:
image5

@HerbertSchulz4711
Copy link
Author

I don't know if it's the same problem as my friend, but I have something similar.

When using "Task list", you can see that I have the following page originally created: image1

I edit this page and create a blank space as below and save it: image2

When saving, you can see that the note is like this: image3

When editing again, you can see that the space doesn't exist, but it's kind of hidden. image4

When I save it again, and view the page, it looks like this: image5

This is not the issue

@HerbertSchulz4711
Copy link
Author

HerbertSchulz4711 commented Dec 2, 2024

Hi @HerbertSchulz4711, Please can you take a screenshot of the blank lines you're adding in the editor, which you're expecting to remain? Just to confirm which editor you're using, and the exact location/layout of such blank lines.

I've taken three screenshots and while taking these I think the issue only appears if there are images involved (not confirmed but guessing) as I could not reproduce the issue without images. I only tested this with headlines, not with plain text.

  1. Screenshot shows creating the new page
    1_creatingnewpage

  2. Screenshot is after saving and viewing the page. Empty line missing.
    2_savingandviewingnewpage

  3. Screenshot is re-editing. Empty line still missing
    3_re-editingnewpage

@HerbertSchulz4711
Copy link
Author

HerbertSchulz4711 commented Dec 2, 2024

I've noticed the same thing, and I thought it was a feature, not a bug.

It can get confusing and illegible if empty lines do not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants