updated logic for padding with spaces, improved spam mode
This commit is contained in:
parent
d2fe797821
commit
e366adbb6c
5 changed files with 36 additions and 7 deletions
|
@ -27,7 +27,7 @@ const EmojiPicker = {
|
|||
methods: {
|
||||
onEmoji (emoji) {
|
||||
const value = emoji.imageUrl ? `:${emoji.displayText}:` : emoji.replacement
|
||||
this.$emit('emoji', { insertion: ` ${value} `, spamMode: this.spamMode })
|
||||
this.$emit('emoji', { insertion: value, spamMode: this.spamMode })
|
||||
},
|
||||
highlight (key) {
|
||||
const ref = this.$refs['group-' + key]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue