Problem:
When you insert Scripts in the HTML editors of Layouts it does strip out every content between and
Solution:
Content Templates are not a place to enqueue custom scripts at all, neither any other HTML editor.
We have custom JavaScript editors so add your own JavaScript functionality, but none of them involves enqueuing custom scripts entirely.
It is a security policy against xss injection required long time ago for every input field and text area in Layouts (titles, content, slug, whatever), that will strip those scripts out.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 5 replies, has 2 voices.
Last updated by chrisG-12 6 years, 11 months ago.
Assigned support staff: Beda.