This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

copy-to-clipboard Macro

 16th December 2017 at 10:49am

The copy-to-clipboard macro displays a button that copies specified text to the clipboard. A notification is displayed if the operation is successful; some browsers do not permit the operation.

Parameters

src
The text to be copied to the clipboard
class
Optional CSS classes to be assigned to the button (defaults to tc-btn-invisible)
style
Optional CSS styles to be assigned to the button

Examples