I am having a lot of trouble implementing copy and paste in to my electron app. I have made a copy and paste window ui but have been looking for a way to implement the copy and paste feature (That only copies highlighted text). I have been at this for a LONG time and tried to use the clipboard API from electron themselves but that does not copy highlighted text only text that you have added youself. I also tryed to make a button that would just run thr CTRL + C command but i could not get it to work, So any help would be muchly appreciated!
Thanks in advance!