Metadata cssclass or cssclasses?

I have searched here in forum and I did not see anything about this. Sorry if I have jumped any post.

I can reproduce this in Sandbox Vault.

Steps to reproduce

Create a new note and add front matter below or use property menu.

---
cssclass:
---

Did you follow the troubleshooting guide? [Y]

Expected result

See the property with the same name cssclass as I have wrote

Actual result

image

But I can see in a text editor cssclass:

Environment

SYSTEM INFO:
Obsidian version: v1.4.1
Installer version: v1.3.5
Operating system: #1 SMP PREEMPT_DYNAMIC Mon Jul 10 10:03:25 UTC 2023 (b97b894) 6.4.2-1-default
Login status: logged in
Catalyst license: insider
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:

Maybe to let clear to us the options available for cssclass in documentation and accept the two options like alias and aliases.

image


Additional information

Perhaps?

tag/alias/cssclass vs tags/aliases/cssclasses

As of 1.4.0, we’re deprecating the “tag”, “alias”, and “cssClass” frontmatter keys. The new property editor will automatically migrate to tags, aliases, and cssclasses and the values will automatically be converted to lists.

The old keys will still be identified correctly in the app, but the property editor will always prefer tags and aliases.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.