I have some big json configs and want allow users to export them. The problem is JS
var data = Store.export();
var url = 'data:text/json;charset=utf8,' + encodeURIComponent(data);
var myWindow = window.open("", "JSON Settings", '_blank');
myWindow.document.write('<textarea>' + escapeHTML(Store.export()) + '</textarea>');
You could include a multi-line text field in which you would place the data.
This gives it a space to go rather than just being injected into the HTML.
The user would then copy and paste the data out into their own