feat: 提及某个对话或用户
* 暂时不支持提醒某个在对话内的用户
This commit is contained in:
@@ -27,6 +27,10 @@ function prettyFlatParsedMessage(html: string) {
|
||||
let ret = ''
|
||||
// 第一个元素时, 不会被聚合在一起
|
||||
let lastElementType = ''
|
||||
const textElementTags = [
|
||||
'chat-text',
|
||||
'chat-mention',
|
||||
]
|
||||
function checkContinuousElement(tagName: string) {
|
||||
if (lastElementType != tagName) {
|
||||
console.log(lastElementType, ls.map((v) => v.innerHTML))
|
||||
|
||||
Reference in New Issue
Block a user