From a541b143eb4653e85812c58cae6bd7f1c632544e Mon Sep 17 00:00:00 2001 From: new_username Date: Wed, 9 Oct 2024 21:17:54 +0800 Subject: [PATCH] replace input to textarea in Copyable , fix the issue of can not copy Line breaks in "data-content" --- src/Grid/Displayers/Copyable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Grid/Displayers/Copyable.php b/src/Grid/Displayers/Copyable.php index 7838137d4d..c7c7a1bda6 100644 --- a/src/Grid/Displayers/Copyable.php +++ b/src/Grid/Displayers/Copyable.php @@ -17,7 +17,7 @@ protected function addScript() $('#{$this->grid->tableID}').on('click','.grid-column-copyable',(function (e) { var content = $(this).data('content'); - var temp = $(''); + var temp = $('