navigator.permissions.query({ name: 'clipboard-write' })

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

navigator.permissions.query({ name: 'clipboard-write' })

Postby wanghongliang » Wed Dec 23, 2020 10:54 pm

Hi, I am using the Clipboard API to copy a text. On running window.navigator.clipboard.writeText("text") it's not actually copting the text to the clipboard. When I tried navigator.permissions.query({name: "clipboard-write"}) it showed as denied. In CEF do we have any event handler or command line arg we need to pass in order to get Clipboard working?
wanghongliang
Techie
 
Posts: 11
Joined: Tue Aug 14, 2018 3:46 am

Re: navigator.permissions.query({ name: 'clipboard-write' })

Postby magreenblatt » Thu Dec 24, 2020 12:31 am

The new clipboard API is not yet supported. See https://bitbucket.org/chromiumembedded/ ... pboard-api
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 99 guests