feat: show emoji tooltip (#2485)

This commit is contained in:
Shinigami 2023-12-22 13:16:46 +01:00 committed by GitHub
parent 74138a9a58
commit c0bb6e293c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 91 additions and 4 deletions

View file

@ -58,7 +58,7 @@ exports[`content-rich > code frame no lang 1`] = `"<p><pre class="code-block">he
exports[`content-rich > custom emoji 1`] = `
"Daniel Roe
<picture alt=":nuxt:" class="custom-emoji" data-emoji-id="nuxt"
<picture class="custom-emoji" alt=":nuxt:" data-emoji-id="nuxt" title="nuxt"
><source
srcset="
https://media.webtoo.ls/custom_emojis/images/000/000/366/original/73330dfc9dda4078.png
@ -67,6 +67,7 @@ exports[`content-rich > custom emoji 1`] = `
<img
src="https://media.webtoo.ls/custom_emojis/images/000/000/366/original/73330dfc9dda4078.png"
alt=":nuxt:"
title="nuxt"
/></picture>
"
`;
@ -129,8 +130,8 @@ exports[`content-rich > link + mention 1`] = `
Happy
<img
src="/emojis/twemoji/1f917.svg"
alt="🤗"
class="iconify-emoji iconify-emoji--twemoji"
alt="🤗"
/>
were now using
<span class="h-card"