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
8### 2023-11-08
9Thanks to @tvataire (https://github.com/tvataire) for the pull requests
10- Refactoring of the script.js file to make it easier to maintain
11- New feature : added an option to disable inline copy on right-click
12- New feature : added an option to disable auto-copy of highlighted text
13- File cleaning (useless whitespaces and writes to the console, unix file format conversion)
14
15### 2023-09-21
16- Fix : added code to prevent copy after scrolling the code block.
17- New feature : added a list of cursor in configuration panel to choose the hover cursor on code blocks.
18
19### 2023-05-28
20- Fix : copycode plugin now work under the .dokuwiki class instead of the mainpage id.
21
22### 2022-09-12
23- Fix : commented an alert on unused mouse key clic (like previous or next buttons)
24
25### 2022-03-02
26- Adds functionnality to remove extra non ascii character bug
27- Adds functionnality and code logic for new mouse actions
28- Adds inline copy on right click
29- Removing default contextmenu on right click on a code block
30- Better writing of jquery elements (using $ instead of repetitive jQuery function calls)
31
32### 2021-05-09
33- Merged Pull Request from FootStark : "Add inline code-copying with option"
34
35### 2021-04-22
36- Added german language file
37
38### 2021-04-21
39- Added "code" html selector in jquery
40
41### 2021-02-18
42- If for any reason, navigator.clipboard fails, it uses the hidden textarea hack instead
43- Added dutch language file
44
45### 2020-09-21
46- Added code selection copy, with its own alert box
47- css and js cleaning
48
49### 2020-09-08
50Refactoring 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).
51### 2020-08-30
52- 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)
53### 2020-07-01
54- Fix multi linebreaks when there is more than one code block
55### 2020-06-25
56- Fix preventing jump to top while clicking the code block
57### 2020-06-24
58- Fix of numbered lines issue
59- Updated date and link to github repository
60### 2020-06-15
61- Initial release
62