In the end of logic, the code compareWith "fontSize".
The way of Style-Format "font-size" in richtext compared failure. Only "fontSize" can works.
And two ways of Style-Format in other Components are all right.
But I have not got good idea to fix it.
phenomenon: The code is work:
But the code is in vain:
If I change to this, it works as well:
Have found the reason, the BasicComponentData of is very different to :
In the end of logic, the code compareWith "fontSize". The way of Style-Format "font-size" in richtext compared failure. Only "fontSize" can works. And two ways of Style-Format in other Components are all right. But I have not got good idea to fix it.