New revision is created but no changes were made #6062

Open
opened 2026-03-18 13:41:24 +00:00 by tortillas5 · 2 comments
tortillas5 commented 2026-03-18 13:41:24 +00:00 (Migrated from github.com)

Describe the Bug

When you open a page with images in edit mode and save without making any change, BookStack creates a new version/revision, even tho the page is the same as before.

I guess it's linked to WYSIWYG or page complexity.

Steps to Reproduce

  1. Open a page with images
  2. Go into edit mode (in classic WYSIWYG)
  3. Don't touch anything, just save
  4. Go into revisions
  5. You can see a new revision as been created

Expected Behaviour

No new version/revision should be created since the page did not change.

Screenshots or Additional Context

It's not always the case, but in long pages I'm able to reproduce it consistently.

Browser Details

Firefox 148.0.2 (64 bits), windows 11 Build 26200.8037

Exact BookStack Version

v26.03.1

### Describe the Bug When you open a page with images in edit mode and save without making any change, BookStack creates a new version/revision, even tho the page is the same as before. I guess it's linked to WYSIWYG or page complexity. ### Steps to Reproduce 1. Open a page with images 2. Go into edit mode (in classic WYSIWYG) 3. Don't touch anything, just save 4. Go into revisions 5. You can see a new revision as been created ### Expected Behaviour No new version/revision should be created since the page did not change. ### Screenshots or Additional Context It's not always the case, but in long pages I'm able to reproduce it consistently. ### Browser Details Firefox 148.0.2 (64 bits), windows 11 Build 26200.8037 ### Exact BookStack Version v26.03.1
virtadpt commented 2026-03-18 21:00:02 +00:00 (Migrated from github.com)

Confirmed, been seeing this since I started using Bookstack a few years back.

Confirmed, been seeing this since I started using Bookstack a few years back.
tortillas5 commented 2026-03-23 13:35:00 +00:00 (Migrated from github.com)

@ssddanbrown I fixed it, and tested it locally, hope it's ok for you.
I created a PR for you, I can't assign people on it so I'm pinging you :)

@ssddanbrown I fixed it, and tested it locally, hope it's ok for you. I created a PR for you, I can't assign people on it so I'm pinging you :)
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bookstack/bookstack#6062
No description provided.