• Home
    • Pugpig Site
    • Content Management System

    Why are script tags being removed from CMS editor?

    Written by Lucy Fairhurst

    Updated at December 18th, 2023

    • Pugpig Bolt

      • Pugpig Site

        • Pugpig Archive

          • Working with Pugpig

            • Pugpig Consulting

              Table of Contents

              Enable admin capability

              Wordpress by default has a whitelist of tags and attributes and sanitises the post content on save, stripping out anything that does not appear in that whitelist. The <script> and <style> tags are not included in that list by default as it is considered a security hole.

              It is possible for us to bypass, and allow admins the ability to add in <script> tags. If this is a requirement, please email support@pugpig.com who will be able to allow admin capability. 

               

              cms editor script tags

              Was this article helpful?

              Yes
              No
              Give feedback about this article

              Related Articles

              • Setting up Apple News in the Pugpig CMS
              • App Visibility
              • How to add new users to Distribution and Express
              pugpig logo white
              Navigation
              • Products
              • Customers
              • News
              • Podcast
              Contact
              • Contact us
              • LinkedIn
              • Twitter
              Technical Support
              • Status Page
              • Documentation
              • Customer Support
              Corporate
              • Company
              • Jobs
              • Privacy Policy

              © Kaldor Ltd. 2022

              Powered by Pugpig


              Knowledge Base Software powered by Helpjuice

              Expand