Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA text editor that saves with Cmd or Ctrl+S (instead of the browser's save dialog), shows the shortcut on the button, confirms with a status, and warns about unsaved text on the way out. Use this when your editor should behave like an app, not a web form.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
People write or edit in a long form and expect Cmd/Ctrl+S to save, like in any desktop editor.
Do not use it when: If saving is automatic, a shortcut adds nothing.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Description |
|---|---|---|
initial | string | The saved text. |
save | (text) => Promise<void> | Persist the text. |
Ctrl S); the button does the same and is disabled when there is nothing to save. The handler stops the browser's "Save page" dialog only for that key combination.The pattern ships with a Testing Library test (save-shortcut-editor.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.