diff options
| author | kamtschatka <simon.schatka@gmx.at> | 2024-07-13 14:17:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 13:17:40 +0100 |
| commit | 1396dd26118afecb199fff1bab896454e291c80e (patch) | |
| tree | fe7b367c01824051650c592c42211a45e3d2ee49 /apps/web | |
| parent | e65aadbcfdccb02c902dc982303ec0e8b6d39fec (diff) | |
| download | karakeep-1396dd26118afecb199fff1bab896454e291c80e.tar.zst | |
feature(web): Save title and tag name changes on enter. Fixes #283 (#293)
allowing to press enter to submit changes
Applies to tags and bookmark titles
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/components/dashboard/EditableText.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/EditableText.tsx b/apps/web/components/dashboard/EditableText.tsx index a8f61c13..55ce10c6 100644 --- a/apps/web/components/dashboard/EditableText.tsx +++ b/apps/web/components/dashboard/EditableText.tsx @@ -58,6 +58,7 @@ function EditMode({ onKeyDown={(e) => { if (e.key === "Enter") { e.preventDefault(); + onSave(); } }} /> |
