Jump to content
thirty bees forum

Recommended Posts

Posted

Hi

 

Trying to add some code to CMS page, but it is being stripped.  I am trying to embed a clickable link to the Tawk.to chat system so I can disable the pop up widget (https://help.tawk.to/article/using-a-text-link-or-button)

The code is: 

<a href="javascript:void(Tawk_API.toggle())"> Click to Chat </a>

I have switched to source code view and paste that and save, but it is changed to 

<a> Click to Chat </a>

I read somewhere that it could be to do with tinymce and made some mods (https://mypresta.eu/en/art/prestashop-16/extended-rich-text-editor.html)

But that does not help either

Any ideas?

Posted
34 minutes ago, Traumflug said:

HTMLPurifier turned off in Preferences -> General?

It is off, is that how it should be?

 

  • haylau changed the title to [SOLVED] javascript in CMS?
  • 1 year later...
Posted

Hi, I have the same problem, with HTMLPurifier turned off the page still just says "The content field is invalid" when I try to paste in Javascript (trying to embed a Paypal subscription button in a CMS page).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...