Hi, I am not sure if this is intentional but whenever I refresh the page, everything I typed in the schema and instance editors is gone. It always goes back to the default content.
What's a bit confusing is that the theme setting actually does persist after refresh, so it feels like the editor content should too.
One approach could be using localStorage as it has a 5MB default storage limit which should be more than enough for schema related work. That way the editor content could be saved the same way the theme already is, so when we come back or accidentally refresh, our work is still there.
Happy to submit a PR if this is something you'd want!
Hi, I am not sure if this is intentional but whenever I refresh the page, everything I typed in the schema and instance editors is gone. It always goes back to the default content.
What's a bit confusing is that the theme setting actually does persist after refresh, so it feels like the editor content should too.
One approach could be using localStorage as it has a 5MB default storage limit which should be more than enough for schema related work. That way the editor content could be saved the same way the theme already is, so when we come back or accidentally refresh, our work is still there.
Happy to submit a PR if this is something you'd want!