-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properties Error #257
Comments
I've gotten around the colon not being valid YAML by adding quotes around the relevant fields in the citations template, e.g., |
that's a great workaround, thank you! |
Hi! How do you render the creation date? By me, it omits the normal {{date}} or {{time}} whenever I want to add it ... |
that's what is in my template: creation date: <% tp.file.creation_date("DD-MM-YYYY HH:mm") %> |
Thanks! Had to toggle "use Templater on new notes" - your answer helped me to get to this conclusion! |
Describe the bug
For those literature items with a subtitle (with an auto-generated colon), obsidian displays a properties error. Since the update to V 1.4.16 on October 13, 2023, the error displays in red (see picture). The literatrue items with a single title are not affected by these behavior.
To Reproduce
The error occurs when a literature note is created ("citation: open literature note")
Console output
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'removeGlobalClasses')
at Zen.saveSettings (plugin:zen:464:18)
Expected behavior
The properties ought to be displayed in black (see example below)
Screenshots
literature item with error
literature item without error
Platform
The text was updated successfully, but these errors were encountered: