@tiptap/extension-emoji 3.0.0-beta.21 → 3.0.0-beta.23

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": "3.0.0-beta.21",
4
+ "version": "3.0.0-beta.23",
5
5
  "homepage": "https://tiptap.dev/api/nodes/emoji",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -36,9 +36,9 @@
36
36
  "dist"
37
37
  ],
38
38
  "peerDependencies": {
39
- "@tiptap/core": "3.0.0-beta.21",
40
- "@tiptap/pm": "3.0.0-beta.21",
41
- "@tiptap/suggestion": "3.0.0-beta.21"
39
+ "@tiptap/core": "3.0.0-beta.23",
40
+ "@tiptap/pm": "3.0.0-beta.23",
41
+ "@tiptap/suggestion": "3.0.0-beta.23"
42
42
  },
43
43
  "dependencies": {
44
44
  "emoji-regex": "^10.4.0",
@@ -49,9 +49,9 @@
49
49
  "emoji-datasource": "^7.0.2",
50
50
  "json5": "^2.2.3",
51
51
  "tsm": "^2.3.0",
52
- "@tiptap/pm": "3.0.0-beta.21",
53
- "@tiptap/suggestion": "3.0.0-beta.21",
54
- "@tiptap/core": "3.0.0-beta.21"
52
+ "@tiptap/core": "3.0.0-beta.23",
53
+ "@tiptap/pm": "3.0.0-beta.23",
54
+ "@tiptap/suggestion": "3.0.0-beta.23"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsup",
package/src/emoji.ts CHANGED
@@ -218,6 +218,7 @@ export const Emoji = Node.create<EmojiOptions, EmojiStorage>({
218
218
  draggable: 'false',
219
219
  loading: 'lazy',
220
220
  align: 'absmiddle',
221
+ alt: `${emojiItem.name} emoji`,
221
222
  },
222
223
  ]
223
224
  : emojiItem.emoji || `:${emojiItem.shortcodes[0]}:`,