You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- JCE started removing javascript
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hello,
I have a website where we use JCE editor and insert template.
The template insert has some javascript code in it.
Up until recently this has been working just fine when I inserted the template in that the JS was not stripped out.
Now when I open a K2 Item, insert the template in WYSIWYG mode, toggle the editor, I can see that the JS has been stripped out. By the way, I don't believe K2 is stripping out the code as this was the component I was using with JCE prior to this issue.
Nothing has changed on the site except updating extensions of which JCE is one of them.
The default JCE user profile allows insertion of PHP, JS, CSS and XHTML Inline scripts.
The Joomla text filters for the user group is set to none.
I need to get this working as it did before so that my client can edit his site without having to mess about with code.
I've searched and looked for answers on this already and nothing I've tried has corrected the issue. Just to reiterate - it was previously working fine.
Regards,
Neil.
I have a website where we use JCE editor and insert template.
The template insert has some javascript code in it.
Up until recently this has been working just fine when I inserted the template in that the JS was not stripped out.
Now when I open a K2 Item, insert the template in WYSIWYG mode, toggle the editor, I can see that the JS has been stripped out. By the way, I don't believe K2 is stripping out the code as this was the component I was using with JCE prior to this issue.
Nothing has changed on the site except updating extensions of which JCE is one of them.
The default JCE user profile allows insertion of PHP, JS, CSS and XHTML Inline scripts.
The Joomla text filters for the user group is set to none.
I need to get this working as it did before so that my client can edit his site without having to mess about with code.
I've searched and looked for answers on this already and nothing I've tried has corrected the issue. Just to reiterate - it was previously working fine.
Regards,
Neil.
As soon as I finished writing the post I found the answer to my problem. I just wasn't search the correct term to find the answer I needed.
The answer to JCE stripping out JavaScript in HREF code can be found here:
https://www.joomlacontenteditor.net/support/forum/jce-stripping-href-with-javascript-in-it
Go to:
Components / JCE Editor / Global Configuration
Scroll down to advanced and put this code: allow_script_urls:true
in the Custom Configurations Variables field.
Regards,
Neil.
The answer to JCE stripping out JavaScript in HREF code can be found here:
https://www.joomlacontenteditor.net/support/forum/jce-stripping-href-with-javascript-in-it
Go to:
Components / JCE Editor / Global Configuration
Scroll down to advanced and put this code: allow_script_urls:true
in the Custom Configurations Variables field.
Regards,
Neil.
As soon as I finished writing the post I found the answer to my problem. I just wasn't search the correct term to find the answer I needed.
The answer to JCE stripping out JavaScript in HREF code can be found here:
https://www.joomlacontenteditor.net/support/forum/jce-stripping-href-with-javascript-in-it
Go to:
Components / JCE Editor / Global Configuration
Scroll down to advanced and put this code: allow_script_urls:true
in the Custom Configurations Variables field.
Regards,
Neil.
The answer to JCE stripping out JavaScript in HREF code can be found here:
https://www.joomlacontenteditor.net/support/forum/jce-stripping-href-with-javascript-in-it
Go to:
Components / JCE Editor / Global Configuration
Scroll down to advanced and put this code: allow_script_urls:true
in the Custom Configurations Variables field.
Regards,
Neil.
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!