save file with special characters (#269)

* image fix, grammar fix

* fixed suggestions bug, some cleanup from old editor, svg edge case

* FIX: save a file with special characters
This commit is contained in:
Eike Ahmels 2021-04-23 21:20:18 +02:00 committed by GitHub
parent f0fbce478d
commit 1cbe7d1164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -860,7 +860,7 @@
});
},
async saveFile() {
let file = new File([this.editor.sourcecode], encodeURI(this.editor.item.filename));
let file = new File([this.editor.sourcecode], this.editor.item.filename);
await this.doUploadFile(file);