2021 Aug 23 12:34 PM - edited 2024 Feb 04 1:03 AM
Hi All,
The javascript is unable to load in cmsparagraph component. It used to work in 1811 version on refreshing context from CMSParagraphComponent and same is not working on 2011 version for script tag.
We tried it using jspincludecomponent and now when script content loads its impacting the shared banner component on that page and that banner component is not loading now.
In Smartedit, when we go to that page it will display the content having issue with the banner component but on changing the mode to Basic Edit/Advanced Edit we are able to see the image and script form both. So issue looks like its only on storefront we are getting it at first load and not able to render both.Any inputs will be appreciated.
Request clarification before answering.
Greeting!
On newer versions of SAP Commerce, the Paragraph component has a checking for checking unsafe Javascript:
To enable Javascript on CMS you have to enable the flag: cms.components.allowUnsafeJavaScript
It's disabled by default.
Best Regards, Sassá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
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.