A tiny field that displays the tinyURL of a page in the panel for Kirby
If you are using the Kirby CLI you can install this plugin by running the following command in your shell from the root folder of your Kirby installation:
kirby plugin:install thiousi/kirby-tinyurl-field
Download this archive, extract it and rename it to tinyurl
. Copy the folder to your site/fields
folder.
If you know your way around git, you can download this as a submodule:
git submodule add https://github.com/Thiousi/kirby-tinyurl-field/ site/fields/tinyurl/
In your blueprint:
tinyurl:
label: Tiny URL
type: tinyurl
help: Click on field to copy to clipboard
width: 1/2
The field supports the standard options:
- Help
- Width
You can also internationalize the label the same way you would with any other fields.
- Copy to clipboard on click
MIT
- Initial release
- Added copy to clipboard with clipboard.js
- Changed icon to clipboard
- Better console logging
- Cleaned up code