We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c967d4 commit 969a07bCopy full SHA for 969a07b
utils/editors/editor/v2.0/editor-v2.0.html
@@ -76,7 +76,7 @@
76
console.log(window.electronAPI);
77
78
window.electronAPI?.onOpenFile(async({path})=>{
79
- console.log('openfile',filePath);
+ console.log('openfile',path);
80
var txt = await window.electronAPI.readFile({path});
81
console.log('txt',txt);
82
});
0 commit comments