Steps to reproduce:
- Open a Unity Project
- Create a new Text GameObject via GameObject > UI > Text - TextMeshPro
- If prompted, import TMP Essential Resources
- Set your text to be <Style="H1">Test Text</Style>
- Observe that the H1 style has been applied to the Test Text
- Select the 'Default Style Sheet.asset' in Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset
- Edit the H1 style to have size of 1em instead of 2em
- Observe how the changes are shown in the editor straight away. This is expected
- Undo your changes using Ctrl + Z
Actual results: The value of size is changed back to 2em, however this is not shown in the editor until it refreshes (e.g. by entering playmode).
Expected results: The value of size is changed back to 2em and the change is shown in the editor straight away.
Reproducible with versions: 7000.0.0a11, 6000.1.0a6, 6000.0.30f1, 2022.3.53f1, 2021.3.45f1
Not reproducible with versions: -
Can’t test with versions: -
Tested on (OS): Windows 11
Notes: -