• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..Today-

action/H10-May-2021-7625

conf/H10-May-2021-214

lang/H10-May-2021-7322

LICENSEH A D09-May-202118 KiB340281

READMEH A D09-May-2021980 2819

README.mdH A D09-May-20211.3 KiB3729

plugin.info.txtH A D09-May-2021251 87

script.jsH A D09-May-20212.4 KiB8953

style.cssH A D09-May-2021771 4336

README

1copycode Plugin for DokuWiki
2
3Copy code block to clipboard
4
5All documentation for this plugin can be found at
6https://github.com/nicolasprigent/Dokuwiki-Copycode-plugin
7
8If you install this plugin manually, make sure it is installed in
9lib/plugins/copycode/ - if the folder is called different it
10will not work!
11
12Please refer to http://www.dokuwiki.org/plugins for additional info
13on how to install plugins in DokuWiki.
14
15----
16Copyright (C) Nicolas Prigent <mail.nicolasprigent@gmail.com>
17
18This program is free software; you can redistribute it and/or modify
19it under the terms of the GNU General Public License as published by
20the Free Software Foundation; version 2 of the License
21
22This program is distributed in the hope that it will be useful,
23but WITHOUT ANY WARRANTY; without even the implied warranty of
24MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25GNU General Public License for more details.
26
27See the LICENSING file for details
28

README.md

1# Dokuwiki-Copycode-plugin
2
3Simple plugin for dokuwiki that adds a copy functionnality when clicking on a code block.
4https://www.dokuwiki.org/plugin:copycode
5
6## Change Log
7### 2021-05-09
8- Merged Pull Request from FootStark : "Add inline code-copying with option"
9
10### 2021-04-22
11- Added german language file
12
13### 2021-04-21
14- Added "code" html selector in jquery
15
16### 2021-02-18
17- If for any reason, navigator.clipboard fails, it uses the hidden textarea hack instead
18- Added dutch language file
19
20### 2020-09-21
21- Added code selection copy, with its own alert box
22- css and js cleaning
23
24### 2020-09-08
25Refactoring of copycode functions with navigator.clipboard function instead of hidden input hack. Fixing the jump to top bug on android systems. See https://developer.mozilla.org/fr/docs/Web/API/Clipboard for compatible web browsers (everything but Internet Explorer).
26### 2020-08-30
27- Fix \<file\> tag with no filename did not work when trying to copy the code block (https://github.com/nicolasprigent/Dokuwiki-Copycode-plugin/issues/4)
28### 2020-07-01
29- Fix multi linebreaks when there is more than one code block
30### 2020-06-25
31- Fix preventing jump to top while clicking the code block
32### 2020-06-24
33- Fix of numbered lines issue
34- Updated date and link to github repository
35### 2020-06-15
36- Initial release
37