Skip to content

Auto-save or prompt when opening new Excalidraw file #2

Description

@adamist521

Problem

When opening a new Excalidraw file while another file is already open, the application switches to the new file without warning. Any unsaved changes in the previously opened file are lost.

( This may be out of this repository scope and I don't know whether this is even possible but it would be nice to have feature. )

Steps to reproduce:

  1. Open an Excalidraw file and make some edits (don't save)
  2. Open a different Excalidraw file
  3. The app switches to the new file and unsaved changes from step 1 are lost

Expected behavior

The application should either:

  • Automatically save the current file before opening a new one
  • Show a dialog asking "Save changes before opening new file?" with options to Save, Don't Save, or Cancel

Related issues

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions