Bug: Drawing gets saved as an image if on bulletpoint #1067

Closed
opened 2026-02-04 23:39:54 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @chasgames on GitHub (Feb 28, 2019).

Describe the bug
When you create a diagram on a bulletpoint in the editor, then Save the diagram, it is saved as a PNG image rather than a diagram.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create bullet point list,
    image
  2. Click Drawing
  3. Draw something
  4. Click Save
  5. Can't re-edit Drawing, saved as PNG image. Even if bullet points are then removed.

Expected behavior
Saved as as an editable diagram

Screenshots
image

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.25.1
Originally created by @chasgames on GitHub (Feb 28, 2019). **Describe the bug** When you create a diagram on a bulletpoint in the editor, then Save the diagram, it is saved as a PNG image rather than a diagram. **Steps To Reproduce** Steps to reproduce the behavior: 1. Create bullet point list, ![image](https://user-images.githubusercontent.com/9719722/53565787-4c00f900-3b52-11e9-9417-4650b5dc16fc.png) 2. Click Drawing 3. Draw something 4. Click Save 5. Can't re-edit Drawing, saved as PNG image. Even if bullet points are then removed. **Expected behavior** Saved as as an editable diagram **Screenshots** ![image](https://user-images.githubusercontent.com/9719722/53565938-c598e700-3b52-11e9-8ede-03392884170c.png) **Your Configuration (please complete the following information):** * Exact BookStack Version (Found in settings): BookStack v0.25.1
OVERLORD added the 🐛 Bug📝 WYSIWYG Editor💻 Front-End labels 2026-02-04 23:39:54 +03:00
Author
Owner

@chasgames commented on GitHub (Feb 28, 2019):

Saw a few other scenarios where the drawings becomes uneditable, Numbered points, and inside a Table. Is this expected?

@chasgames commented on GitHub (Feb 28, 2019): Saw a few other scenarios where the drawings becomes uneditable, Numbered points, and inside a Table. Is this expected?
Author
Owner

@ssddanbrown commented on GitHub (Feb 28, 2019):

Thanks for raising @chasgames.

Is this expected?

No, just not something that's been tested to this degree, Will have a think about where images should be supported.

By the way, All drawings are actually saved as PNG images with drawing data embedded, Just looks like these are no structured or detected properly as drawings when in other elements.

@ssddanbrown commented on GitHub (Feb 28, 2019): Thanks for raising @chasgames. > Is this expected? No, just not something that's been tested to this degree, Will have a think about where images should be supported. By the way, All drawings are actually saved as PNG images with drawing data embedded, Just looks like these are no structured or detected properly as drawings when in other elements.
Author
Owner

@chasgames commented on GitHub (Feb 28, 2019):

Great thanks Dan, good to know the drawing data is still embedded :)

@chasgames commented on GitHub (Feb 28, 2019): Great thanks Dan, good to know the drawing data is still embedded :)
Author
Owner

@ssddanbrown commented on GitHub (Feb 28, 2019):

👍 As a backup, If you have any existing drawings you need to save you should be able to right-click them > download to your pc. Then in draw.io go to File > Open from > Device, then select your drawing file.

@ssddanbrown commented on GitHub (Feb 28, 2019): :+1: As a backup, If you have any existing drawings you need to save you should be able to right-click them > download to your pc. Then in draw.io go to File > Open from > Device, then select your drawing file.
Author
Owner

@Wookbert commented on GitHub (Aug 26, 2021):

Just ran into the same problem, and thought I should report ... but it already has been. Luckily I still had the drawing in the clipboard.
image
image

@Wookbert commented on GitHub (Aug 26, 2021): Just ran into the same problem, and thought I should report ... but it already has been. Luckily I still had the drawing in the clipboard. ![image](https://user-images.githubusercontent.com/3104762/131015089-c8997dde-d274-456e-b29a-698e519a976e.png) ![image](https://user-images.githubusercontent.com/3104762/131014970-d29c7492-dd14-4e20-9d8d-79c83a16d4ba.png)
Author
Owner

@ssddanbrown commented on GitHub (Sep 8, 2025):

I'm gonna go ahead and close this off since after testing on current versions of BookStack I have not been able to reproduce in the default WYSIWYG or the new WYSIWYG (there are some difference between those into drawing handling relative to lists, but that's a separate thing), so it's quite possible things have changed in the last 6 years.

@ssddanbrown commented on GitHub (Sep 8, 2025): I'm gonna go ahead and close this off since after testing on current versions of BookStack I have not been able to reproduce in the default WYSIWYG or the new WYSIWYG (there are some difference between those into drawing handling relative to lists, but that's a separate thing), so it's quite possible things have changed in the last 6 years.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1067