Hi Kirby-Folks,
Iām evaluating if we can use Kirby for a clients usecase. One rather specific requirement is a feature to copy the generated HTML of rendered template into the clipboard (donāt ask⦠).
Iāve never done anything in kirby, but as far as unterstand Iād need to solve this via a new plugin.
I have a proof of integration (outside of kirby) which uses ClipboardJS to copy HTML from a textarea. Now if itās feasible to
- add a (hidden) textarea in the panel which contains the rendered-templates-html
- and a custom ācopyā button which triggers ClipboardJS
I believe that this can be done. Iād appreciate any thoughts on how to approach this and if itās doable.
Thanks a lot, Fabian