How to set the font size in BBCode?

There was an issue with the font size when setting up BBCode in Godot 4:

[color=#F25E0D][size=4]Comparison of the Concepts of Clean Energy and Renewable Energy[/size][/color]

Color is okay, but the font size doesn’t change.

Try [font_size=4]

Thank you.

you can take a look at the BBCode reference in the godot docs to see all available tags and their respective options: BBCode in RichTextLabel — Godot Engine (stable) documentation in English