When I change “id” to “class” it will create a class in my h2 tag. But with “id” its not working, it willl only show the <h2> without id=“xyz”.
Is “id” maybe kinda like a protected term, that I cannot use in js expressions? And if so, how can I still get the “id” output?
Good morning.
Okay, so I realized, its only the preview in n8n, that does not render the id.
I used to inspect the preview in n8n, to see if the id is available and it seems, that it will not be recognized.
Than I checked the JSON output and tadaa, the ID actually IS there… should have done that before asking here ;).
Anyway, just in case, someone else would be wondering, why the id is not showing in the preview.