From d0f217d952a52fd5130b320dffa34117f328e1e5 Mon Sep 17 00:00:00 2001
From: Coleman Watts
Date: Sun, 6 Mar 2022 11:57:54 -0500
Subject: [PATCH] APIv4 Explorer - Add "copy" button and output executable php
Makes it easy to select and copy generated code.
This makes the "Export" action easier to use, a "Copy" button automatically
selects text, and the PHP formatted code begins with "return" and ends with a semicolon.
---
ang/api4Explorer/Explorer.html | 18 ++++++++++++++++--
ang/api4Explorer/Explorer.js | 12 +++++++++++-
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/ang/api4Explorer/Explorer.html b/ang/api4Explorer/Explorer.html
index a48a68f50a..0e720442bc 100644
--- a/ang/api4Explorer/Explorer.html
+++ b/ang/api4Explorer/Explorer.html
@@ -224,8 +224,14 @@