Skip to content

Commit

Permalink
More infobox testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rsnyder committed Oct 6, 2023
1 parent 457404d commit 9dcc2bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions juncture/components/VisualEssay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9dcc2bf

Please sign in to comment.