TextBlock space trimming

New Contributor

Hi,

 

Is there a way to disable space trimming.

For example:
The text block:
{ "type": "TextBlock", "text": "Text with        many        spaces    ", "size": "large" }

 

Will appear as ""Text with many spaces"

 

I would like to preserve the original text.

Is this possible?

2 Replies
@__arik__ -We are looking into this I will get back to you soon.

@__arik__ - Using   and &emsp should give single space and tab space respectively. But it is not rendering properly and not adding spaces. We have a bug raised for it already. We will update you on the same.

 

Thanks,

Meghana

--------------------------------------------------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.