DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:clipboardutils

clipboardutils Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Copy text to clipboard by icon, text, ...

Last updated on
2021-09-09
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to clippy, codeclipboard, copy2clipboard, copycode

Tagged with clipboard, code, copy, paste

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

Text with icon (click the icon copy the text in clipboard):

<clipb type=ti>Value copied in clipboard</clipb>
<clipb type=texticon>Value copied in clipboard</clipb>
<clipb f=t,i>Value copied in clipboard</clipb>

{{:dev:clipboardutils:screenshot1.png?200|}} FIXME

Some more complex boxes

An email address clickable: <clipb type=clic>an-email-address@ggmail.com</clipb>\\
Several lines copied by icon: <clipb t=i>a simple text
on several lines
just to try</clipb>\\
An icon, the text, an icon, all clickable: <clipb f=i,c,i>Copier cela dans le presse-papier</clipb>\\

{{:dev:clipboardutils:screenshot2.png?500|}} FIXME

Syntax

Basic syntax:

<clibp parameters>Text to copy in clipboard</clipb>
  • parameters can be can be a sequence of key value pairs separated by spaces or semicolons ;
  • The keys are separated from the values either by : or by =
  • The keys
    • type|t — Type of value to display:
      • text|t — just the text (normally used in compound types)
      • icon|i — a icon clickable
      • clic|c — the text clicable (to copy the text in clipboard)
    • format|f — a list of 'type' separated by comma , (ex: format=t,i or f=clic,icon).
plugin/clipboardutils.txt · Last modified: 2023-12-28 08:51 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki