Currently, the Highlight tool just wraps the highlighted text in a span with a set background color. This can cause problems for people who switch between dark and light mode, because the text inside the highlighted section may not be readable after the transition.
I would like the span created by the highlight tool to have a class. This would allow targeting by CSS so that highlighted sections could have different colored text than non-highlighted sections.
This is an imperfect solution, because someone that highlights in many different colors may still have trouble finding a suitable text color, but it would be an improvement for users that only use a single text color.
It also allows the addition of user-defined toolbar buttons using HTML. HTML is a powerful language allowing nearly endless customization of your cards. Our wiki contains common code samples to get you started.
I would suggest adding a class in addition to the local style. That way it could still be selected in CSS if the user chooses to. It might require an !important, depending on the design choice of the user, but at least it would be possible.
And I really like that idea of the custom button. That would stop me from repurposing things like bold for totally unrelated things.