Unable to add css property to text in text Block

Hi Walter
i want to add css property for text as “display: block” but i am unable to do it. Can you please suggest me a solution.
as i am using TextBlock in the Application

Thanks

HTML layout does not apply within a diagram. So trying to set the display property does not make sense.

What is it that you are trying to accomplish?

No,
I want to change the text display style (font style) (original image)
eg

as below image( reference Image )
ref
this image text has css property “display:block” i want to do it for original image . Please suggest.

Just set the TextBlock.font property in the template. GoJS TextBlocks -- Northwoods Software