add Bpopover default props & add text_rebond body and tags
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
<b-popover
|
||||
v-for="note in notes" :key="note.number"
|
||||
custom-class="footnote"
|
||||
:target="'note-' + note.number" :container="'node-' + nodeId"
|
||||
:target="'note-' + note.number" :container="`node-${mode}-${nodeId}`"
|
||||
placement="top" :fallback-placement="['bottom', 'right', 'left']"
|
||||
:triggers="['focus']" :boundary-padding="0"
|
||||
:triggers="['focus']"
|
||||
>
|
||||
<div class="footnote-content" v-html="note.content" />
|
||||
|
||||
@@ -91,6 +91,7 @@ export default {
|
||||
|
||||
mounted () {
|
||||
if (this.mode === 'view' && this.notes) this.addFootnotes()
|
||||
this.$el.querySelectorAll('img, video, audio').forEach(elem => elem.parentElement.classList.add('media-container'))
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user