Add a function to update localStorage when preview schema is updated.
Then on page load, check if there's data in localStorage. If there's date, use that as initial schema data.
That way you can leave the page and come back and resume work on your schema.
Add a function to update localStorage when preview schema is updated.
Then on page load, check if there's data in localStorage. If there's date, use that as initial schema data.
That way you can leave the page and come back and resume work on your schema.