Monaco 0.53+ introduced the native EditContext API as an alternative
to the textarea input method. In Chrome, Monaco may now prefer
EditContext, which means synthetic ClipboardEvent('paste') events
dispatched to the textarea are silently ignored.
This broke setMonacoEditorContent() in the Cypress test utilities,
which relied on dispatching paste events to '.monaco-editor textarea'.
Fix: rewrite setMonacoEditorContent to use Cypress's cy.type() with
{delay: 0}, which simulates real keyboard input at the browser level
and works regardless of Monaco's internal input method. No changes
to production code required.
🤖 Generated by LLM (Claude, via OpenClaw)