max-mapper / tabby

a browser with almost no UI
344 stars 30 forks source link

Toggle DevTools is toggling the Electron Devtools, not <webview> #10

Open krainboltgreene opened 8 years ago

krainboltgreene commented 8 years ago

So this isn't so easy, honestly. Something I had issues implementing with Lowbrow.

Essentially you have to get the current window's current webview and then call <webview>.openDevTools() (sadly there is no toggleDevTools()). But that's not all, as <webview> tags can't have docked DevTools :(

max-mapper commented 8 years ago

Hmm yea thats annoying. I think the default should prob be too open the webview devtools. But also would be nice to have a way to open the BrowserWindow devtools also still

krainboltgreene commented 7 years ago

Adding to this I recently saw an electron app that had a correctly docked DevTools. Maybe it was Atom?