[TextHighlight] Fixed, "not updating when text string changes" (#3796)

Co-authored-by: David Tsay <3614296+davetsay@users.noreply.github.com>
This commit is contained in:
Jamie V 2021-04-09 12:38:59 -07:00 committed by GitHub
parent b7460cef41
commit 1b57999059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,9 @@ export default {
watch: {
highlight() {
this.highlightText();
},
text() {
this.highlightText();
}
},
mounted() {