CRM and CX Blogs by SAP
Stay up-to-date on the latest developments and product news about intelligent customer experience and CRM technologies through blog posts from SAP experts.
cancel
Showing results for 
Search instead for 
Did you mean: 
Wesley_SAP
Product and Topic Expert
Product and Topic Expert
0 Kudos
431

This unexpected behavior is all because of the property cms.components.allowUnsafeJavaScript that after SAP Commerce 1905.19 version it is set by default as false.

This property exists because SmartEdit uses the CKEditor as its editor for the paragraph component (text) type. The CKEditor automatically verifies the HTML and transforms the content automatically to the preferred form.

If you want to allow inline style, including linking to anchor in the text, in the CKEditor, set the value of cms.components.allowUnsafeJavaScript to true in the Hybris Administration Console, or in the local.properties or project.properties file. For example:

cms.components.allowUnsafeJavaScript=true

 

1 Comment