-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make highlighted types selectable and copyable #29
Comments
We would need to replace the codicon with some other solution, any ideas? |
a btn to copytoclipboard ? navigator.clipboard.writeText(text);
console.log('Content copied to clipboard'); navigator.permissions.query({ name: "write-on-clipboard" }).then((result) => {
if (result.state == "granted" || result.state == "prompt") {
alert("Write access granted!");
}
}); |
@costamatheus97 VSCode HTML sanitization is very strict. I don't see any other options that they'll make it less strict. I opened an issue and PR for that: @djmisterjon If they'll reject the PR it's a good option. Does it work with the VSCode command link? |
idk sry, it work on my nwjs app, never tested with electron (used by vscode) |
Until things will be changed you can use the hack here: |
We need a change in VSCode to allow that. I opened a PR and Issue there:
microsoft/vscode#180496
any other ideas will be welcomed
The text was updated successfully, but these errors were encountered: