Comments (4)
The popup menu simply uses Electron roles to do copy-paste stuff. I don't know if it handle automatically webviews. Has you tried?
Instead, we could improve the registered shortcuts. We should be able to add an (optional) elm argument to registerShortcuts
method. If the user pass some webview as value, it should be forwarded all the way down to action
method.
In action
method, the webview methods has to be called instead of the current window ones...
from electron-input-menu.
You use the element that's being clicked to see if you should show the menu right? But since because the element is a webview, the right menu items are never showed when clicked on a input
inside webview
. Try it yourself to get what I mean :)
from electron-input-menu.
Try it yourself to get what I mean :)
I had... you're right.
from electron-input-menu.
You can put this inside a preload script for the webview and it works.
from electron-input-menu.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-input-menu.