@tiptap/extension-emoji 2.24.0 → 2.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/extension-emoji",
3
3
  "description": "emoji extension for tiptap",
4
- "version": "2.24.0",
4
+ "version": "2.24.2",
5
5
  "homepage": "https://tiptap.dev/api/nodes/emoji",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -44,9 +44,9 @@
44
44
  "is-emoji-supported": "^0.0.5"
45
45
  },
46
46
  "devDependencies": {
47
- "@tiptap/core": "^2.24.0",
48
- "@tiptap/pm": "^2.24.0",
49
- "@tiptap/suggestion": "^2.24.0",
47
+ "@tiptap/core": "^2.24.2",
48
+ "@tiptap/pm": "^2.24.2",
49
+ "@tiptap/suggestion": "^2.24.2",
50
50
  "emoji-datasource": "^7.0.2",
51
51
  "json5": "^2.2.3",
52
52
  "tsm": "^2.3.0"
package/src/emoji.ts CHANGED
@@ -227,6 +227,7 @@ export const Emoji = Node.create<EmojiOptions, EmojiStorage>({
227
227
  draggable: 'false',
228
228
  loading: 'lazy',
229
229
  align: 'absmiddle',
230
+ alt: `${emojiItem.name} emoji`,
230
231
  },
231
232
  ]
232
233
  : emojiItem.emoji || `:${emojiItem.shortcodes[0]}:`,