copy/paste in node-webkit

9 views
Skip to first unread message

Anthony Ettinger

unread,
Sep 1, 2013, 12:34:24 AM9/1/13
to node-...@googlegroups.com
Since the right-click menu is disabled, and flash isn't installed by default, how can we allow a user to copy/paste stuff?

Piotr Korzeniewski

unread,
Sep 1, 2013, 8:48:45 AM9/1/13
to node-...@googlegroups.com
Have you checked npm? There're several modules for clipboard access

abraham...@gmail.com

unread,
Sep 2, 2013, 7:31:59 PM9/2/13
to node-...@googlegroups.com
You can use gui.Clipboard

Also, you can re-implement the right click context-menu using gui.Menuwindow.getSelection, and the "contextmenu" event. Hope this helps!

Anatoly Pashin

unread,
Oct 11, 2013, 12:39:45 AM10/11/13
to node-...@googlegroups.com
Did you solved this? Please share some code if you can.

воскресенье, 1 сентября 2013 г., 15:34:24 UTC+11 пользователь Anthony Ettinger написал:

Anthony Ettinger

unread,
Oct 11, 2013, 12:57:40 AM10/11/13
to node-...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Anthony Ettinger
http://about.me/anthony.ettinger
ant...@ettinger.name
+1 (831) 406-1123

Anatoly Pashin

unread,
Nov 11, 2013, 2:51:14 AM11/11/13
to node-...@googlegroups.com
Just in case anyone is still interested on this here is how I did: https://gist.github.com/b1rdex/7409406
Hope it'll help somebody.


2013/10/11 Anthony Ettinger <etti...@gmail.com>



--
Пашин Анатолий,
эникейщик.

Ewald Horn

unread,
Nov 11, 2013, 2:53:17 AM11/11/13
to node-...@googlegroups.com
Awesome,

thank you Anatoly,  I appreciate the share.

Kind regards,
Ewald
Reply all
Reply to author
Forward
0 new messages