feat(通用功能): 富文本框@人可以跟随主题色

This commit is contained in:
guoyuqi 2024-03-29 14:41:08 +08:00 committed by 刘瑞斌
parent 41d8e2a58e
commit 3fb085c6b2
1 changed files with 4 additions and 1 deletions

View File

@ -337,7 +337,7 @@
renderHTML({ options, node }) {
return [
'span',
{ style: 'color: #783887' },
{ class: 'mention-people' },
`${options.suggestion.char}${node.attrs.label ?? node.attrs.id}`,
];
// return `${options.suggestion.char}${userMap[node.attrs.id]}`;
@ -570,4 +570,7 @@
.ms-scroll-bar();
}
}
.mention-people {
color: rgb(var(--primary-5)) !important;
}
</style>