xref: /plugin/copy2clipboard/README.md (revision 4a4767308717c14f451352ab8371333d3ed9479e)
1copy2clipboard Plugin for DokuWiki
2
3Add button to copy `<code>` and `<file>` content to clipboard.
4
5All documentation for this plugin can be found at
6https://github.com/schplurtz/dokuwiki-plugin-copy2clipboard
7
8Please refer to https://www.dokuwiki.org/plugins for additional info
9on how to install plugins in DokuWiki.
10
11----
12
13Resources I've used while trying to write this little piece of code. Without
14them, I would not have been able to write this. I voted up the solutions when
15appropriate.
16
17*  https://codetonics.com/javascript/detect-document-ready/
18*  https://www.dokuwiki.org/devel:jqueryfaq
19*  https://flaviocopes.com/clipboard-api/ Thanks a million.
20*  https://www.w3schools.com/jsref/prop_node_parentelement.asp
21*  https://stackoverflow.com/a/35213639/1831273 innerText vs textContent
22*  https://stackoverflow.com/a/10371757/1831273 innetText or textContent
23*  https://www.w3schools.com/howto/howto_js_add_class.asp
24*  https://stackoverflow.com/a/11701129/1831273 first child of given type
25*  https://css-tricks.com/absolute-relative-fixed-positioining-how-do-they-differ/ a must read
26*  https://css-tricks.com/position-sticky-2/
27
28----
29Copyright (C) Schplurtz le Déboulonné <Schplurtz@laposte.net>
30
31This program is free software; you can redistribute it and/or modify
32it under the terms of the GNU General Public License as published by
33the Free Software Foundation; version 2 of the License
34
35This program is distributed in the hope that it will be useful,
36but WITHOUT ANY WARRANTY; without even the implied warranty of
37MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38GNU General Public License for more details.
39
40See the LICENSE file for details
41