How to do "Paste As Text" without modifying clipboard data?

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.

How to do "Paste As Text" without modifying clipboard data?

Postby Streamlet » Wed Sep 11, 2019 7:39 am

AS the title.

One of my solution is, getting clipboard data and backup, then setting clipboard data to pure text, and calling browser->GetFocusedFrame()->Paste(), at last restore the clipboard data.
Is there any other solution not need to modify clipboard?
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am

Re: How to do "Paste As Text" without modifying clipboard da

Postby Streamlet » Wed Sep 11, 2019 9:30 am

the chromium menu id is IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am

Re: How to do "Paste As Text" without modifying clipboard da

Postby Streamlet » Sun Sep 15, 2019 12:37 am

excuese me?
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am

Re: How to do "Paste As Text" without modifying clipboard da

Postby Streamlet » Mon Oct 14, 2019 2:53 am

Is there any solution?
Streamlet
Mentor
 
Posts: 61
Joined: Tue Aug 27, 2019 6:47 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 54 guests