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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user