How to reproduce:
1. Open the “UIBuilder_TextStyle_Repro“ project
2. Open the “SampleScene“
3. Open the “Window/UI Toolkit/UI Builder“ window
4. In the UI Builder window open the “Assets/Example.uxml“ asset
5. Observe “#example-style“ Label in the Viewport pane
Expected result: The Label “#example-style“ is displayed in that custom style.
Actual result: The Label “#example-style“ is displayed as rich text.
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a14
Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Notes:
- The Label “#example-style“ in the Game view is displayed correctly (in the custom style)
- Also the text with the <strikethrough> tag is displayed as rich text in the UIBuilder Viewport pane