We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9601e66 commit e11f7c5Copy full SHA for e11f7c5
1 file changed
utils/editors/markdown-editor/markdown-editor.html
@@ -370,16 +370,18 @@ <h4 slot=version>
370
}//complete
371
372
373
- complete.load=function(file,txt){
+ complete.load = async function(file,blob){debugger;
374
375
+ var txt = await blob.text();
376
+
377
editor.clear();
378
editor.setValue(txt,-1);
379
complete(file);
380
381
}//complete.load
382
383
- complete.save=function(file,confirm=true){
384
+ complete.save = function(file,confirm=true){
385
386
387
0 commit comments