Save the contents of the editor
In this example, we load the contents of the editor from your browser's localStorage, and save it there when you make changes.