on 2018 Aug 14 4:26 PM
Hello,
I want to add a JavaScript code in the content of the cmsparagraphcomponent from the hmc and cmscockpit?
I tried to add the script in the content directally but the script was removed.
Thanks in advance
Request clarification before answering.
It works now! in the cmscockpit when you add a cmsparagraphcomponent and type in the content make sure you select Source first before typing the script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's the XSSFilter
You can turn it off globally (not recommended) with
xss.filter.enabled=false
or just for cmscockpit with
cmscockpit.xss.filter.enabled=false
or just clear specific rules for cmscockpit
cmscockpit.xss.filter.rule.script_fragments=
The settings are well commented in platform/project.properties
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.