Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Block editor: save when editor is backgrounded or un-presented #1044

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

gordonbrander
Copy link
Collaborator

Fixes #1041

Testing

Setup:

  • Go to Settings > Developer > Block Editor, and turn on block editor.

Scenario 1:

  • Create a new note or edit an existing note
  • Type some text
  • Swipe back

What should happen: note should be saved.

Scenario 2:

  • Create a new note or edit an existing note
  • Type some text
  • Background the app

What should happen: note should be saved.

This causes list to be refreshed.
Copy link
Collaborator

@bfollington bfollington left a comment

Choose a reason for hiding this comment

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

LGTM, works in testing too :)

@bfollington bfollington merged commit 428478e into main Dec 21, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: 🌱 Done
Development

Successfully merging this pull request may close these issues.

Block editor should save when exiting editor
2 participants