Add support for unicode emojis
refs: https://github.com/syuilo/misskey/pull/3117#issuecomment-435745613
This commit is contained in:
parent
b7f10fdc10
commit
200ebefe92
3 changed files with 37 additions and 17 deletions
|
|
@ -187,10 +187,10 @@ export default Vue.component('misskey-flavored-markdown', {
|
|||
}
|
||||
|
||||
case 'emoji': {
|
||||
const { emoji } = token;
|
||||
const { emoji, raw } = token;
|
||||
const { customEmojis } = this;
|
||||
return [createElement('mk-emoji', {
|
||||
attrs: { emoji },
|
||||
attrs: { emoji, raw },
|
||||
props: { customEmojis }
|
||||
})];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue