Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid discarding content changes on upload #6909

Open
wants to merge 2 commits into
base: v5/develop
Choose a base branch
from

Conversation

bastianallgeier
Copy link
Member

@bastianallgeier bastianallgeier commented Jan 17, 2025

Description

A file upload caused a loss of content changes. This is now avoided by merging the latest changes in the content.js module. With this fix, we can also fix another issue with file uploads in blocks and layouts by bringing back the onInput emitter in the files field from v4. This has been removed in one of the last releases to fix a collision with unsaved changes.

Related sandbox setup getkirby/sandbox#13

Changelog

Fixes

For review team

  • Add lab and/or sandbox examples (wherever helpful)
  • Add changes & docs to release notes draft in Notion

Copy link
Member

@distantnative distantnative left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked well in my tests, but it would be great if @afbora could get his skilled testing hands on this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants