Refactoring & 設定でTwemojiを使うかどうか切り替えられるように
This commit is contained in:
parent
54e9147782
commit
65961bc15b
13 changed files with 95 additions and 58 deletions
|
|
@ -187,10 +187,10 @@ export default Vue.component('misskey-flavored-markdown', {
|
|||
}
|
||||
|
||||
case 'emoji': {
|
||||
const { emoji, raw } = token;
|
||||
const { emoji, name } = token;
|
||||
const { customEmojis } = this;
|
||||
return [createElement('mk-emoji', {
|
||||
attrs: { emoji, raw },
|
||||
attrs: { emoji, name },
|
||||
props: { customEmojis }
|
||||
})];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue