Renaming a note renames it based on its template title instead of its basename
redactedscribe opened this issue ยท 2 comments
redactedscribe commented
For example:
- Common main template value
{{icon }}{{title|_basename}}
and processor disabled. - Create new file Test and add
icon: ๐
front matter. - In Files tab, you see "๐ Test".
- Renaming the file via the sidebar shows "๐ Test" as the value which can be edited, instead of "Test".
- Just press enter (or click away) and the file's basename is now "๐ Test" and displays as "๐๐ Test" in the file's inline title (but only shows "๐ Test" in the Files tab for some reason).
If Settings > Files & Links > Automatically update internal links is enabled then all "[[Test]]" wikilinks are now modified to be "[[๐ Test]]" instead.
snezhig commented
In 3.7.1 plugin should set basename when file is being renamed.
redactedscribe commented
It works, thank you.