[pve-devel] [PATCH widget-toolkit] parameter and return grid: allow text selection

Aaron Lauterer a.lauterer at proxmox.com
Mon Jan 2 10:21:23 CET 2023


Making it easier for people to copy & paste parameter and retrun value
names.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 src/api-viewer/APIViewer.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/api-viewer/APIViewer.js b/src/api-viewer/APIViewer.js
index 879c9a3..d9753b2 100644
--- a/src/api-viewer/APIViewer.js
+++ b/src/api-viewer/APIViewer.js
@@ -241,6 +241,7 @@ Ext.onReady(function() {
 			viewConfig: {
 			    trackOver: false,
 			    stripeRows: true,
+			    enableTextSelection: true,
 			},
 			columns: [
 			    {
@@ -339,6 +340,7 @@ Ext.onReady(function() {
 			viewConfig: {
 			    trackOver: false,
 			    stripeRows: true,
+			    enableTextSelection: true,
 			},
 			columns: [
 			    {
-- 
2.30.2






More information about the pve-devel mailing list