mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-10-13 23:17:18 -04:00
14 lines
351 B
Vue
14 lines
351 B
Vue
<script>
|
|
import spelling from "../plugins/spelling";
|
|
|
|
export default {
|
|
mixins: [ spelling ],
|
|
props: {
|
|
text: {},
|
|
},
|
|
render(h) {
|
|
return h('span', {domProps: { innerHTML: this.handleSpelling(this.text !== undefined ? this.text : this.$slots.default[0].text) }});
|
|
},
|
|
}
|
|
</script>
|