From 9dcc2bf49a73b51206e9254354053ddf69343a4f Mon Sep 17 00:00:00 2001 From: Ron Snyder Date: Fri, 6 Oct 2023 12:04:33 -0400 Subject: [PATCH] More infobox testing --- juncture/components/VisualEssay.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/juncture/components/VisualEssay.vue b/juncture/components/VisualEssay.vue index ed9f7456d..6f6394d74 100644 --- a/juncture/components/VisualEssay.vue +++ b/juncture/components/VisualEssay.vue @@ -199,6 +199,7 @@ module.exports = { // span.setAttribute('data-eid', span.attributes.eid.value) // span.classList.add('entity', 'tagged') let entityInfobox = document.createElement('ve-entity-infobox') + entityInfobox.innerHTML = span.innerHTML entityInfobox.setAttribute('qid', span.attributes.eid.value) span.replaceWith(entityInfobox) }