Simple plugin for dokuwiki that adds a copy functionnality when clicking on a code block. https://www.dokuwiki.org/plugin:copycode
- Added "code" html selector in jquery
- If for any reason, navigator.clipboard fails, it uses the hidden textarea hack instead
- Added dutch language file
- Added code selection copy, with its own alert box
- css and js cleaning
Refactoring 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).
- Fix <file> tag with no filename did not work when trying to copy the code block (nicolasprigent#4)
- Fix multi linebreaks when there is more than one code block
- Fix preventing jump to top while clicking the code block
- Fix of numbered lines issue
- Updated date and link to github repository
- Initial release