My Oracle Support Banner

Web Mode Editing insite:edit CKEditor Strips <SCRIPT> Tags From Content (Doc ID 2457272.1)

Last updated on FEBRUARY 27, 2019

Applies to:

Oracle WebCenter Sites - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

 Web Mode Editing insite:edit CKEditor Strips <SCRIPT> Tags From Content

What is not working:
When editing an asset's attribute in Contributor UI's Web mode, if the content contains <script> tags, these are stripped out.
- This is observed by clicking the Source button in CKEditor
- Additionally, the content rendered by insite:edit (e.g. in the rendered web page) does not render the <script> tags either.

What is working:
In Form mode, the <script> tags are seen in the Source mode of CKEditor.
- If the content is rendered using another method (e.g. retrieving the attribute data and rendering the value by simply outputting it to the page) the <script> content is rendered.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.