Improve readdability
This commit is contained in:
parent
e542dcac30
commit
3fc04fcdc5
@ -187,11 +187,14 @@ export default Vue.component('misskey-flavored-markdown', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'emoji': {
|
case 'emoji': {
|
||||||
const { emoji, name } = token;
|
|
||||||
const { customEmojis } = this;
|
|
||||||
return [createElement('mk-emoji', {
|
return [createElement('mk-emoji', {
|
||||||
attrs: { emoji, name },
|
attrs: {
|
||||||
props: { customEmojis }
|
emoji: token.emoji,
|
||||||
|
name: token.name
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
customEmojis: this.customEmojis
|
||||||
|
}
|
||||||
})];
|
})];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user