I’ve built an email template generator and would like to allow the marketing manager to copy the code directly from the panel. I’ve gotten as far as to place the code snippet in an Info field but it currently doesn’t wrap so I figured I would need to make my own field but I’m struggling to get it working.
app.js:1 DOMException: Failed to execute 'setAttribute' on 'Element': '0' is not a valid attribute name.
at qo (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:51101)
at Yo (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:50838)
at Array.Vo (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:50428)
at _ (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:45211)
at v (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:44574)
at h (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:44391)
at p (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:43982)
at a.__patch__ (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:48463)
at a.In.t._update (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:27125)
at a.r (http://localhost:3000/media/panel/9f851fb3203c740b13d66b2369b3636d/js/vendor.js:23:27931)