You can use strings instead of urls, for files. So you could do something like:
loadFromS3(function (fileContent) {
j = new Jotted($container, {
files: [ type: 'css', content: fileContent ]
})
})
then create a plugin for it that saves the changes back to s3: j.done('change', function (err, params) {
saveToS3(params.content)
})
Here's some details about the plugin api:
https://github.com/ghinda/jotted#plugin-apips, the author wrote a post about the CSS used to create the Material-like `:active` animations used on the demo page - https://ghinda.net/article/css-ripple-material-design/
It would be useful to be able to add hidden libraries or frameworks to build the example code on topof them, while only showing the example code itself as editable.