Skip to content

FootStark/Dokuwiki-Copycode-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dokuwiki-Copycode-plugin

Simple plugin for dokuwiki that adds a copy functionnality when clicking on a code block. https://www.dokuwiki.org/plugin:copycode

Change Log

2021-04-21

  • Added "code" html selector in jquery

2021-02-18

  • If for any reason, navigator.clipboard fails, it uses the hidden textarea hack instead
  • Added dutch language file

2020-09-21

  • Added code selection copy, with its own alert box
  • css and js cleaning

2020-09-08

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).

2020-08-30

  • Fix <file> tag with no filename did not work when trying to copy the code block (nicolasprigent#4)

2020-07-01

  • Fix multi linebreaks when there is more than one code block

2020-06-25

  • Fix preventing jump to top while clicking the code block

2020-06-24

  • Fix of numbered lines issue
  • Updated date and link to github repository

2020-06-15

  • Initial release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 46.3%
  • JavaScript 39.9%
  • CSS 13.8%