block builde: add prview

This commit is contained in:
Simon Vieille 2024-05-24 15:47:15 +02:00
parent 57dd7da162
commit 62fbd936c6
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -152,7 +152,7 @@ export default {
this.showSettings = !this.showSettings this.showSettings = !this.showSettings
}, },
truncate(value) { truncate(value) {
return value.replace(/(<([^>]+)>)/ig, '') return value.replace(/(<([^>]+)>)/ig, '').trim()
}, },
removeMe() { removeMe() {
this.$emit('remove-item') this.$emit('remove-item')