diff --git a/qgis-app/plugins/templates/plugins/plugin_detail.html b/qgis-app/plugins/templates/plugins/plugin_detail.html index 1b2598c3..101b8194 100644 --- a/qgis-app/plugins/templates/plugins/plugin_detail.html +++ b/qgis-app/plugins/templates/plugins/plugin_detail.html @@ -76,11 +76,59 @@ }) }); + + function copyToClipBoard(plugin_id) { + navigator.clipboard.writeText(plugin_id); + + var tooltip = document.getElementById("copyTooltip"); + tooltip.innerHTML = "Plugin ID copied!"; + } {% endblock %} {% block extracss %} {{ block.super }} + {% endblock %} {% block content %}