Hi, I have a pretty simple section but am unable to get the Javascript to run:
Click-me
{% schema %}
{
"name": "Soundplayer",
"settings": [
{
"id": "text-box",
"type": "text",
"label": "Heading",
"default": "Title"
}
],
"presets": [
{
"name": "Soundplayer",
"category": "Soundplayer2"
}
]
}
{% endschema %}
Output is Uncaught ReferenceError: hallo is not defined
I have tried to place the script tag at different locations in the file, as well as using {% javascript %} -tags. All versions led to the same error.
What am I missing here?