This is a functional text editor, which stores the data in localStorage.
The data is stored as a key value pair. Key is "data" suffixed with a random number to maintain uniqueness. value is an object containing:
- filename
- word count
- data entered
This key value pair is then used to fetch the data and display in the output.html page.
To Save: Press Ctrl + Shift + S To come out of the modal box: Press Esc key