safari_native_type
Inserts text into any editor by simulating a native clipboard paste (Cmd+V) in Safari. Works with ProseMirror, Slate, and Draft.js editors where DOM manipulation fails, preserving clipboard and enabling form submission.
Instructions
Insert text into ANY editor via OS-level clipboard paste (CGEvent Cmd+V targeted to Safari window). Unlike safari_fill which manipulates DOM directly (breaking React/ProseMirror state), this goes through the real paste pipeline — ProseMirror/Slate/Draft.js process the paste event natively and update their internal model. After native_type, pressing Enter (via safari_native_keyboard) will actually submit the form because the framework state matches the DOM. Saves and restores the user's clipboard. No focus stealing. Use for Discord, Slack, and any editor where safari_fill works visually but the content isn't 'really there' when you try to submit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Text to insert via clipboard paste | |
| selector | No | CSS selector of the editor element to focus first | |
| ref | No | Ref ID from safari_snapshot to focus first |