This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
|
<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>
|