Reputation: 97
I just wrote a small app that converts markdown to HTML automatically, but when I type in the text to convert, nothing happens. This is not the first time I am having this problem, an App I did previously for saving bookmarks would not activate some buttons.
Here is the screenshot
Upvotes: 0
Views: 44
Reputation: 845
Please try:
const w = new BrowserWindow({ webPreferences: { nodeIntegration: true } })
The issue can be further explored here:
https://github.com/electron/electron/issues/17241
Essentially, the 'nodeIntegration' used to default to true. However the was introduced as a 'Breaking change' when moving to v5
Upvotes: 1