sindresorhus/electron-context-menu

Does not work on webviews b/c getWebContents has been removed

GiovanH opened this issue · 1 comments

See https://www.electronjs.org/docs/breaking-changes#planned-breaking-api-changes-90

Context menu tries to grab web contents with const webContents = win => win.webContents || (win.getWebContents && win.getWebContents());, which fails on electron v9 and above due to the depreciation of getWebContents

This seems to be fixed already! I must have an out-of-date version.