feat(通用功能): 富文本框@人可以跟随主题色
This commit is contained in:
parent
41d8e2a58e
commit
3fb085c6b2
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue