Draw.io does not save diagram #890

Closed
opened 2026-02-04 22:44:46 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @Biepa on GitHub (Nov 1, 2018).

Describe the bug
I change a draw.io diagram an click save, but when it closes an go back to bookstack, nothing changes

Steps To Reproduce
Steps to reproduce the behavior:

  1. open site
  2. edit diagram
  3. save

How can i get detailed logs to post here?

Expected behavior
That the changed diagram would show up in bookstack.

Your Configuration (please complete the following information):
-Bookstack: v0.24.1
-PHP 7.1.23
-Hosting Method: Docker

Originally created by @Biepa on GitHub (Nov 1, 2018). **Describe the bug** I change a draw.io diagram an click save, but when it closes an go back to bookstack, nothing changes **Steps To Reproduce** Steps to reproduce the behavior: 1. open site 2. edit diagram 3. save How can i get detailed logs to post here? **Expected behavior** That the changed diagram would show up in bookstack. **Your Configuration (please complete the following information):** -Bookstack: v0.24.1 -PHP 7.1.23 -Hosting Method: Docker
OVERLORD added the 🐛 Bug🔍 Pending Validation labels 2026-02-04 22:44:46 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Nov 3, 2018):

Hi @Biepa, Do normal image uploads save okay?

Are you able to re-produce the issue on the demo site?

@ssddanbrown commented on GitHub (Nov 3, 2018): Hi @Biepa, Do normal image uploads save okay? Are you able to re-produce the issue [on the demo site](https://demo.bookstackapp.com/login?email=admin@example.com&password=password)?
Author
Owner

@Biepa commented on GitHub (Nov 4, 2018):

Seems like it was only temporary. The time i tried it, it did not work in multiple diagramm on different pages. Don't know why.
Working know again.
May be hard to find out why, so i'll close this issue.

@Biepa commented on GitHub (Nov 4, 2018): Seems like it was only temporary. The time i tried it, it did not work in multiple diagramm on different pages. Don't know why. Working know again. May be hard to find out why, so i'll close this issue.
Author
Owner

@Biepa commented on GitHub (Feb 23, 2019):

peek 2019-02-23 13-40

In my tests sometimes the hotkeys don't work, when the diagram is opened.
If I edit without shortcuts, it saves fine. But if I try to delete someting with "del" nothing happens and when I save, the diagram is gone.

@Biepa commented on GitHub (Feb 23, 2019): ![peek 2019-02-23 13-40](https://user-images.githubusercontent.com/25102748/53286549-b7248700-3770-11e9-9c3b-00e676035858.gif) In my tests sometimes the hotkeys don't work, when the diagram is opened. If I edit without shortcuts, it saves fine. But if I try to delete someting with "del" nothing happens and when I save, the diagram is gone.
Author
Owner

@danielroehrig-mm commented on GitHub (Aug 20, 2019):

We can confirm the issue. These are the steps to reproduce the bug:

  1. In Firefox, create a new drawing
  2. Press the del key; nothing will happen
  3. Press save, the drawing will be deleted from the page

This does not happen in Chrome. It doesn't matter whether you are on Windows or Linux, the problem is with Firefox + Bookstack + Draw.io.

We suspect it's a problem with the way Draw.io is integrated into Bookstack. The del key seems to trigger the deletion of the drawing on the page instead of the element selected in draw.io

@danielroehrig-mm commented on GitHub (Aug 20, 2019): We can confirm the issue. These are the steps to reproduce the bug: 1. In Firefox, create a new drawing 2. Press the del key; nothing will happen 3. Press save, the drawing will be deleted from the page This does not happen in Chrome. It doesn't matter whether you are on Windows or Linux, the problem is with Firefox + Bookstack + Draw.io. We suspect it's a problem with the way Draw.io is integrated into Bookstack. The del key seems to trigger the deletion of the drawing on the page instead of the element selected in draw.io
Author
Owner

@finzzz commented on GitHub (Feb 16, 2022):

In my case it was worse, nothing gets saved after editing for an hour

@finzzz commented on GitHub (Feb 16, 2022): In my case it was worse, nothing gets saved after editing for an hour
Author
Owner

@FooB4r commented on GitHub (Mar 7, 2022):

I noticed that if the session times out, then the diagram gets discarded with no possibilities of saving it.

@FooB4r commented on GitHub (Mar 7, 2022): I noticed that if the session times out, then the diagram gets discarded with no possibilities of saving it.
Author
Owner

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

Since this issue is relatively old, and since there has since been changes to improve use of drawings I'm going to close it off.
If the issue is found to persist on current versions of BookStack, please open a new issue.

@ssddanbrown commented on GitHub (Sep 4, 2025): Since this issue is relatively old, and since there has since been changes to improve use of drawings I'm going to close it off. If the issue is found to persist on current versions of BookStack, please open a new issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#890