aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2021-01-03 12:20:15 -0500
committerGravatar GitHub <noreply@github.com> 2021-01-03 18:20:15 +0100
commit46c8f6e77b74c97993414af1c3a3a8a047414baf (patch)
treeeb1327838aee14be4b0ecae8be2670d69ee4f2e1 /app/shares.php
parent0567e3894745f541cef2acd7a85486c0f2e40656 (diff)
Add clipboard sharing (#3330)
When the discussion #3327 started, I thought that the clipboard share is a good idea. It never occurred to me because I do not use a smartphone. It might need some polishing but it seems pretty usable as-is. See #3327
Diffstat (limited to 'app/shares.php')
-rw-r--r--app/shares.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/shares.php b/app/shares.php
index daca836bf..472934008 100644
--- a/app/shares.php
+++ b/app/shares.php
@@ -140,4 +140,10 @@ return array(
'form' => 'advanced',
'method' => 'GET',
),
+ 'clipboard' => array(
+ 'url' => '~LINK~',
+ 'transform' => array(),
+ 'form' => 'simple',
+ 'method' => 'GET',
+ ),
);