mirror of
https://akkoma.dev/lamp/akkoma-fe.git
synced 2026-06-04 22:30:04 -04:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ca8689fc88 |
@@ -234,6 +234,8 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'emojiCode': {
|
case 'emojiCode': {
|
||||||
|
const emoj = this.status.emojis.find((emoji) => emoji.shortcode === token.props.name)
|
||||||
|
if (emoj) {
|
||||||
return [h('div', {
|
return [h('div', {
|
||||||
class: 'still-image emoji img'
|
class: 'still-image emoji img'
|
||||||
},
|
},
|
||||||
@@ -244,6 +246,9 @@ export default defineComponent({
|
|||||||
src: this.status.emojis.find((emoji) => emoji.shortcode === token.props.name).static_url
|
src: this.status.emojis.find((emoji) => emoji.shortcode === token.props.name).static_url
|
||||||
})]
|
})]
|
||||||
)]
|
)]
|
||||||
|
} else {
|
||||||
|
return `:${token.props.name}:`
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'unicodeEmoji': {
|
case 'unicodeEmoji': {
|
||||||
|
|||||||
Reference in New Issue
Block a user