79351585

Date: 2025-01-13 08:43:45
Score: 1
Natty:
Report link

Just encountered the same problem.

To override JavaFX default styles in RichTextFX, use !important in your CSS. For example, -fx-background-color: #1E1E1E !important; ensures the background color is applied even if other styles are set, ensuring that your custom background color takes precedence.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Stefan