Describe the bug
In the QuickAdd.variables = {...} part of a .js file loaded by QuickAdd, fileName is a simple string.
The following template...
... generates the following warning in Obsidian console :
To Reproduce
Steps to reproduce the behavior in Obsidian:
- Open Obsidian and create note template mentionned above.
- Have a
.js script loaded by Obsidian that outputs a string named fileName so you can use {{VALUE:fileName}} in your template.
- See warning.
Expected behavior
No such warning.
Obsidian Debug Info (required for bug reports)
Please include the full Debug Info from Obsidian to help diagnose your environment:
- Open the Command Palette (
Ctrl/Cmd+P).
- Run:
Show debug info.
- Click:
Copy to clipboard.
- Paste it below inside the code block.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Obsidian version: 1.13.4
- QuickAdd version: 2.21.0
- Operating system: Windows 11
- Debug info: Cf. screenshot above
- Other plugins enabled: [List any other plugins that might be relevant]
- Theme: Default
Console Logs
Cf. screenshot above.
Describe the bug
In the
QuickAdd.variables = {...}part of a.jsfile loaded by QuickAdd,fileNameis a simple string.The following template...
... generates the following warning in Obsidian console :
To Reproduce
Steps to reproduce the behavior in Obsidian:
.jsscript loaded by Obsidian that outputs a string namedfileNameso you can use{{VALUE:fileName}}in your template.Expected behavior
No such warning.
Obsidian Debug Info (required for bug reports)
Please include the full Debug Info from Obsidian to help diagnose your environment:
Ctrl/Cmd+P).Show debug info.Copy to clipboard.Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Console Logs
Cf. screenshot above.