feat: share target für android und desktop-chrome

- LAN-Clipboard erscheint im Teilen-Menü (GET /share mit title/text/url)
- geteilter Inhalt landet vorausgefüllt in der Schnell-Eingabe
- Link wird nicht doppelt übernommen, wenn er schon im Text steht

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dbildhauerandClaude Opus 5.5 committed 2026-10-25 11:47:30 +01:00
1 parent 9cf163c295
commit 6d58a697e3
6 files changed
+91

No files matched your search

+11
View File
@@ -23,6 +23,17 @@ watch([content, kind], () => {
language.value = detectLanguage(content.value) ?? 'plaintext'
})
// Content shared from another app (share target) arrives as a draft
watch(
() => store.draft,
(draft) => {
if (!draft) return
content.value = draft
store.draft = null
},
{ immediate: true },
)
async function paste(): Promise<void> {
error.value = null
try {