Steps to reproduce
Rename the note in file list or the title bar of the editor with spaces as beginning.
Expected result
Cut off the unwanted spaces in the front of the string. (Under Windows)
Actual result
The unwanted spaces were displayed, while the actual file name wasn’t modified.
Environment
- Operating system: Windows 10.
- Debug info:
Can’t access the command.
OS: Windows 10
Obsidian Version: 1.1.9
Tested in a newly created empty vault.
Additional information
Relaunch Obsidian and the file name would be displayed as is.