Fixed using both color and highlight (#3311)

This commit is contained in:
Nikita Konev 2022-10-17 13:57:53 +03:00 committed by GitHub
parent ac626c8e1e
commit a966059dc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`,
}
},
},