MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Enable JavascriptAccessClipboard and JavascriptDomPaste in WPF
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Currently my project uses CefSharp.
Now I want to use webview2 instead.
How can I achieve the effect "JavascriptAccessClipboard" and "JavascriptDomPaste" in webview2 like CefSharp ?
This is the description in CefSharp.
// Controls whether JavaScript can access the clipboard. Also configurable using
// the "disable-javascript-access-clipboard" command-line switch.
CefState JavascriptAccessClipboard
{
get;
set;
}
// Controls whether DOM pasting is supported in the editor via execCommand("paste").
// The |javascript_access_clipboard| setting must also be enabled. Also configurable
// using the "disable-javascript-dom-paste" command-line switch.
CefState JavascriptDomPaste
{
get;
set;
}
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue mentions WPF, WebView2, CefSharp, and the JavaScriptAccessClipboard and JavaScriptDomPaste settings, but names no files, tests, or entry points. Begin by determining whether WebView2 exposes equivalent controls for these requested behaviors; done would be a documented way to achieve them or a clearly scoped feature request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100