diff --git a/src/app/components/editor/Elements.tsx b/src/app/components/editor/Elements.tsx index 3f4fd49..02fb545 100644 --- a/src/app/components/editor/Elements.tsx +++ b/src/app/components/editor/Elements.tsx @@ -98,7 +98,8 @@ function RenderEmoticonElement({ isUsingTwemoji() ? {element.shortcode} : element.key )} {children} diff --git a/src/app/components/emoji-board/EmojiBoard.tsx b/src/app/components/emoji-board/EmojiBoard.tsx index fd0af1e..1d60833 100644 --- a/src/app/components/emoji-board/EmojiBoard.tsx +++ b/src/app/components/emoji-board/EmojiBoard.tsx @@ -283,7 +283,8 @@ const NativeEmoji = (emoji: IEmoji) => loading="lazy" className={css.EmoticonImg} src={getEmojiUrl(emoji.unicode)} - alt={emoji.shortcode} + alt={emoji.unicode} + title={emoji.shortcode} /> : emoji.unicode; export function EmojiItem({ diff --git a/src/app/plugins/react-custom-html-parser.tsx b/src/app/plugins/react-custom-html-parser.tsx index 2924961..95922e2 100644 --- a/src/app/plugins/react-custom-html-parser.tsx +++ b/src/app/plugins/react-custom-html-parser.tsx @@ -46,6 +46,7 @@ const textToEmojifyJSX = (text: string): (string | JSX.Element)[] => return { isUsingTwemoji() ? {char} :