From 49c1c2ec0a5e9a245f5958fca089f0f479926fbf Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Mon, 22 Aug 2022 12:50:26 +0200 Subject: [PATCH] Grafana-UI: Changes ClipboardButton to always allow copy of multi line content (#53903) (#53929) --- .../components/ClipboardButton/ClipboardButton.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx b/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx index 5e021d9e330..7c6c3e72b52 100644 --- a/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx +++ b/packages/grafana-ui/src/components/ClipboardButton/ClipboardButton.tsx @@ -93,16 +93,17 @@ const copyText = async (text: string, buttonRef: React.MutableRefObject