Long string causes compose area to change width in Markdown Editor #578

Closed
opened 2026-02-04 21:16:28 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @cpressland on GitHub (Feb 26, 2018).

For Bug Reports

  • BookStack Version 0.20.0
  • PHP Version: 7.0.25-0ubuntu0.16.04.1
  • MySQL Version: MariaDB 10.1.20
Expected Behavior

When adding a long string in the compose area of the Markdown Editor the width of the preview pane doesn't change.

Current Behavior

The width of the preview pane changes when adding a long string.

Steps to Reproduce
  1. Set Bookstack to Markdown Mode in Settings
  2. Create or edit a page
  3. Add a very long line, for example:
loooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnngggg
Originally created by @cpressland on GitHub (Feb 26, 2018). ### For Bug Reports * BookStack Version 0.20.0 * PHP Version: `7.0.25-0ubuntu0.16.04.1` * MySQL Version: `MariaDB 10.1.20` ##### Expected Behavior When adding a long string in the compose area of the Markdown Editor the width of the preview pane doesn't change. ##### Current Behavior The width of the preview pane changes when adding a long string. ##### Steps to Reproduce 1) Set Bookstack to Markdown Mode in Settings 2) Create or edit a page 3) Add a very long line, for example: ``` loooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnnggggloooooonnnnggggstriiiiinnngggg ```
OVERLORD added the 🐛 Bug label 2026-02-04 21:16:28 +03:00
Author
Owner

@backwardspy commented on GitHub (Feb 26, 2018):

I just opened #716 as a potential fix for this issue.

@backwardspy commented on GitHub (Feb 26, 2018): I just opened #716 as a potential fix for this issue.
Author
Owner

@ssddanbrown commented on GitHub (Mar 18, 2018):

Thank you @BackwardSpy for your pull request on this one.

@ssddanbrown commented on GitHub (Mar 18, 2018): Thank you @BackwardSpy for your pull request on this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#578