I saw your reply late. I am sorry.
Yes, when I write the code `console.log(Blockly.getMainWorkspace())` I get the answer
'undefined'.
I solved my problem using localstorage, but it's making my job a little longer and tiring the program. If I can use the Blockly library on Electron's home page index.js, everything will be more comfortable :)
My English is not very good. Maybe I can't explain my problem easily. Thanks for your interest anyway.
13 Haziran 2022 Pazartesi tarihinde saat 19:21:15 UTC+3 itibarıyla
bwes...@google.com şunları yazdı: