CSS Snippets :has() selector

Does Obsidian CSS snippets recognize the :has() functional selector?
I can’t make it work.


Not yet. Currently obsidian is on electron 18 which is chromium 100. :has() require electron 20 or 21. So u would have to wait for a while

1 Like

When it might update to electron 20 or 21?
I need this pseudo-class selector a lot, plz.

good news to you! obsidian electron base has been upgraded to v21. with that it now supports :has() selector.

but keep in mind that you have to reinstall the obsidian (just download the installer and run it, no need to uninstall first). also i’m not sure about mobile support for this for now. perhaps forum mod can help out on this.

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