Skip to content

Conversation

@antihumorous
Copy link

#90

Description

Code entered in the editor will now persist on a refresh using sessionStorage in JavaScript.

Change Log

view and editor js files updated with new instantiation code, as well as a line for storing editor code in sessionStorage on change.

-<FILE CHANGED> :
view/index.js
view/editor/index.js

Manual Test Steps

Run the editor as usual. There is a popup alert that shows the code in the variable containing sessionStorage, feel free to comment this out when moving to master. The line is near the top of componentDidMount in the Editor class definition.

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

Successfully merging this pull request may close these issues.

1 participant