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

Source is lost after page refresh (f5) #15

Closed
1 task done
Tracked by #2 ...
gpersoon opened this issue Sep 2, 2019 · 0 comments
Closed
1 task done
Tracked by #2 ...

Source is lost after page refresh (f5) #15

gpersoon opened this issue Sep 2, 2019 · 0 comments

Comments

@gpersoon
Copy link
Contributor

gpersoon commented Sep 2, 2019

@todo

  • cache current file in localStorage so it's not lost on page refresh

Expected Behavior

When refreshing the webpage of the editor (https://ethereum-play.github.io/editor-solidity/) I would expect that the (edited) source stays present.
I refresh can be triggerd by F5, by metamask (when changing networks) or other ways.

Current Behavior

Currently the source is lost and replaced by the default demo contract: SimpleStorage

Possible Solution

Steps to Reproduce

Context (Environment)

  • Chrome Version 76.0.3809.132 (Official Build) (64-bit) on Windows 10

Detailed Description

Possible Implementation

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

No branches or pull requests

2 participants