Update placeholder and validation

This commit is contained in:
2026-01-08 13:32:30 +01:00
parent c7ebada781
commit 6e29256ee9
4 changed files with 38 additions and 6 deletions

View File

@@ -392,7 +392,7 @@
<textarea
class="text-input"
id="custom-asset-code"
placeholder="function init({ surface, assets, channel }) {&#10;&#10;}&#10;&#10;function tick() {&#10;&#10;}"
placeholder="exports.init = ({ surface, assets, channel }) => {&#10;&#10;};&#10;&#10;exports.tick = () => {&#10;&#10;};"
rows="25"
required
></textarea>