Autosave of the draft does not work after editing the diagram Draw.io #3038

Closed
opened 2026-02-05 05:59:02 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @DimS1872 on GitHub (Aug 29, 2022).

Describe the Bug

If you'll change something on the page, at least one letter, then autosave occurs after 30 seconds.

However, if a Draw.io diagram is embedded on the page, system does not notice changes in it, and autosave does not occur automatically.

The problem is that if the diagram has changed and the page has not been saved, then when the session ends, all changes in the diagram will be lost.

Steps to Reproduce

  1. Open your browser's developer tools, Network tab.
  2. Start editing the existing page containing the diagram draw.io.
  3. Double-click on the diagram (Draw.io editor opened).
  4. Edit the diagram.
  5. Click the Save button in the diagram editor.
  6. In developer tools, expect a "save-draft" request within a few minutes without making changes to the draft.

Expected Behaviour

After 30 seconds, a "save-draft" request appeared in the browser developer tools

Screenshots or Additional Context

No response

Browser Details

Firefox 104.0 (64-bit) for Ubuntu 20.04

Exact BookStack Version

BookStack v22.07.3

PHP Version

No response

Hosting Environment

Ubuntu 20.04.4 LTS

Originally created by @DimS1872 on GitHub (Aug 29, 2022). ### Describe the Bug If you'll change something on the page, at least one letter, then autosave occurs after 30 seconds. However, if a Draw.io diagram is embedded on the page, system does not notice changes in it, and autosave does not occur automatically. The problem is that if the diagram has changed and the page has not been saved, then when the session ends, all changes in the diagram will be lost. ### Steps to Reproduce 1. Open your browser's developer tools, Network tab. 2. Start editing the existing page containing the diagram draw.io. 3. Double-click on the diagram (Draw.io editor opened). 4. Edit the diagram. 5. Click the Save button in the diagram editor. 6. In developer tools, expect a "save-draft" request within a few minutes without making changes to the draft. ### Expected Behaviour After 30 seconds, a "save-draft" request appeared in the browser developer tools ### Screenshots or Additional Context _No response_ ### Browser Details Firefox 104.0 (64-bit) for Ubuntu 20.04 ### Exact BookStack Version BookStack v22.07.3 ### PHP Version _No response_ ### Hosting Environment Ubuntu 20.04.4 LTS
OVERLORD added the 🐛 Bug📝 WYSIWYG Editor💻 Front-End labels 2026-02-05 05:59:02 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3038