feat(widget): 添加 emoji 表情支持功能
- 添加 node-emoji 依赖库支持 emoji 解析 - 实现防错处理确保 emoji 渲染失败时返回原始文本
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"dompurify": "^3.3.1",
|
||||
"marked": "^17.0.1"
|
||||
"marked": "^17.0.1",
|
||||
"node-emoji": "^2.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user