Forum
How do I allow JavaScript inside a textarea field?
This is the template code I am using:
<perch:content id="shopify" type="textarea" label="Shopify code" editor="markitup" html="true" />
but I'm still getting a 403 error when I save the record. I have tried to install tinymce and ckeditor but I'm not getting either of those to work.
I don't think the 403 is coming from Perch - it could be your hosting blocking the JavaScript.
Does adding markdown="true" help? The following is from the docs:
And there's also this regarding editor plug-ins
Thanks for the responses chaps. Drew was correct - it was a modsec rule at my host. We spent about an hour last night trying different things and we finally got it working. Cheers.