p5.js-editor
p5.js-editor copied to clipboard
save() function doesn't save files properly
save(["Hello this is a test"], "stringTest.txt")
When the "Run In Browser" option is selected, a file like stringTest.txt is saved in the browser's default Downloads folder.
When the "Run In Browser" option is not selected, a file like stringTest.bad.txt is written to the same folder as sketch.js stringTest.txt stringTest.bad.txt