Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add 'webpreferences' attribute to webview #7631
This was referenced
Oct 14, 2016
referenced this pull request
Nov 3, 2016
Hi, this seemed to be exactly what I would need to change the default font of a webview using webpreferences. However, the setting is defaultFontFamily takes an object as argument (https://github.com/electron/electron/blob/master/docs/api/browser-window.md). How can I encode that as a parameter for the webpreferences attribute?