mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
Fixed using both color and highlight (#3311)
This commit is contained in:
parent
ac626c8e1e
commit
a966059dc0
@ -58,7 +58,7 @@ export const Highlight = Mark.create<HighlightOptions>({
|
||||
|
||||
return {
|
||||
'data-color': attributes.color,
|
||||
style: `background-color: ${attributes.color}`,
|
||||
style: `background-color: ${attributes.color}; color: inherit`,
|
||||
}
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user