You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to open doc in vscode webview,it will be more helpful to solve the problem of frequent switching between browsers and vscode
Expected API (期望的 API)
document.addEventListener('keydown',e=>{if((e.metaKey||e.ctrlKey)&&e.key==='c'){constselection=document.getSelection();if(!selection||!selection.toString())return;consttext=selection.toString();window.parent.postMessage({eventType: 'copy', text },'*');}});
The text was updated successfully, but these errors were encountered:
This function solves the problem (这个功能解决的问题)
I want to open doc in vscode webview,it will be more helpful to solve the problem of frequent switching between browsers and vscode
Expected API (期望的 API)
The text was updated successfully, but these errors were encountered: