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

Load autosave bad state when the last save isn't a .ck file #43

Open
terryzfeng opened this issue Oct 21, 2024 · 0 comments
Open

Load autosave bad state when the last save isn't a .ck file #43

terryzfeng opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@terryzfeng
Copy link
Member

Steps to reproduce:

  • start a new project
  • upload a plain text file
  • view the plain text file in editor
  • refresh the page
  • last saved code is the plain text file
  • (now there is now default .ck file loaded)

this can potentially break webchuck export because there needs to be at least .ck file

possible fix: if autosave isn't a .ck file, start a new project with untitled.ck

@terryzfeng terryzfeng changed the title Load autosave bad state when the last save wasn't a .ck file Load autosave bad state when the last save isn't a .ck file Oct 21, 2024
@terryzfeng terryzfeng added the bug Something isn't working label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant