The builder's path
For: Developers building VS Code webviews with embedded iframes can't use Cmd+A, Cmd+C or Cmd+V inside the iframe on macOS.
“Some things are under our control, while others are not under our control.”
Written for this problem
Start with developers and users of VS Code extensions that embed an iframe inside a webview, using a Mac. The sources leave these open:
Public maintainers and extension developers who reported and worked around this issue and can confirm the repro.
Start from what is already published.
Build a small VS Code extension with a webview that embeds a cross-origin iframe holding a text input, then test Cmd+A, Cmd+C and Cmd+V on macOS to pin down exactly where the shortcuts are swallowed. Use the repro to write a clear issue for the VS Code team.
Test the keydown-forwarding workaround and a possible alternative against right-click paste, rebinding, and shortcuts like Cmd+W. Record which approaches keep the other shortcuts working so maintainers can choose a safe fix.
It is solved when: in a repro with a nested cross-origin iframe in a macOS webview, Cmd+A, Cmd+C and Cmd+V work in a text input without any custom script in the iframe.
Routes to a solution
Each route is a different kind of journey, with real people and organisations to contact at each step, starting with those in every country.
Step 1
Build in the open
Publish the code and invite contributors from the community.
Let the people a free tool helps fund its maintainer directly.
Raise and spend money in the open for a community project.
Grants for open source that makes the internet better.
Network of civic tech groups in many countries; find the one near the problem.
Step 2
Fund the maintainers
Sponsors, collectives and open source grants.
Let the people a free tool helps fund its maintainer directly.
Raise and spend money in the open for a community project.
Grants for open source that makes the internet better.
Network of civic tech groups in many countries; find the one near the problem.
Step 3
Get it adopted
Civic tech groups and public bodies take it up.
Y Combinator's free course and co-founder matching.
Raise and spend money in the open for a community project.
Network of civic tech groups in many countries; find the one near the problem.
Volunteer data scientists working with social-sector organisations.
Ideas, sources and tools for this problem, from first interviews to funding.
Official guide to how webviews handle focus, keyboard events and iframes, useful for the repro.
Public maintainers and extension developers who reported and worked around this issue and can confirm the repro.
The team that owns how menu shortcuts are handled in webviews and can say whether a fix is planned.
Starter prompt
Built from this problem's brief. Paste it into Claude or any AI assistant.
Help me design and build a first working prototype for this problem in Anywhere. Problem: Developers building VS Code webviews with embedded iframes can't use Cmd+A, Cmd+C or Cmd+V inside the iframe on macOS. Who it hurts: Developers and users of VS Code extensions that embed an iframe inside a webview, using a Mac The moment it hurts: A user types or selects text in a text input inside the iframe and presses Cmd+A, Cmd+C or Cmd+V, and nothing happens. What people do today: Developers add a keydown listener inside the iframe that calls document.execCommand for copy, paste, cut, select all and undo, and forwards other keys up to VS Code. Why it is still unsolved: The source says VS Code turns off menu shortcuts on macOS when a webview has focus, and the forwarding step calls preventDefault. The nested iframe is a different origin, so VS Code cannot reach into it. The commenters say a proper VS Code-side fix is still open. What solved looks like: In a repro with a nested cross-origin iframe in a macOS webview, Cmd+A, Cmd+C and Cmd+V work in a text input without any custom script in the iframe. Where: Anywhere First, list what you would need to learn from the people affected before building, as interview questions. Then propose the simplest version that would help, the screens or messages it needs, and the data it would use. Keep it cheap to run, accessible, and respectful of people's privacy. Flag anything you are unsure about instead of guessing.
Talk to the people who live it before you build.
“Lead me from the unreal to the real, from darkness to light.”
असतो मा सद्गमय। तमसो मा ज्योतिर्गमय।
asato mā sad gamaya, tamaso mā jyotir gamaya
Get a working version in front of people fast.
Using AI is not cheating. Every tool carries the work of the people who made it, and using it well is how knowledge has always moved forward. The thinking, the care for the people who live the problem, and the judgement are still yours.
“The Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves.”
Open data that fits this problem.
“In the fields of observation chance favours only the prepared mind.”
Dans les champs de l'observation le hasard ne favorise que les esprits préparés.
Tools matched to what this problem needs.
“A journey of a thousand li starts beneath one's feet.”
Ship it responsibly, and find help and funding.
“Act, keeping in view the welfare of the world.”
लोकसंग्रहमेवापि सम्पश्यन्कर्तुमर्हसि
lokasaṅgraham evāpi sampaśyan kartum arhasi
Kit generated with claude-haiku-5-5; every link was checked when it was made. Links go to each provider's own site. Zetema is not paid for any listing.
Take it to someone
Built from this problem's evidence. Fill in the [brackets], make it yours, and send it. Read every line first: it goes out under your name.
Ask someone who knows this problem for 20 minutes.