From a13b4fb2ec7599660dae8b07238c26be3bca6ea9 Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Thu, 7 Mar 2024 15:48:21 +0100 Subject: [PATCH] doc: add loader icon for editor --- lib/docs/docs/playground.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/docs/docs/playground.html b/lib/docs/docs/playground.html index 0415f03..fb025a3 100644 --- a/lib/docs/docs/playground.html +++ b/lib/docs/docs/playground.html @@ -34,7 +34,13 @@

✍️ Nanopublication signing playground 🕹 -
+
+
+ + Loading editor... +
+
+

@@ -152,6 +158,7 @@

✍️ Nanopublication signing playground 🕹 language: 'sparql', value: exampleTrig, }); + document.getElementById('editor-loading-spinner').style.display = 'none'; const oeditor = monaco.editor.create(rdfOutput, { ...editorsConfig, language: 'sparql',