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:
parent
f0fbce478d
commit
1cbe7d1164
@ -860,7 +860,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
async saveFile() {
|
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);
|
await this.doUploadFile(file);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user