The CKEditor is not edible in Form Mode when <compress-html-template>true</compress-html-template> is added to the weblogic.xml file

(Doc ID 2018949.1)

Last updated on JULY 05, 2016

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 to 11.1.1.8.0 [Release FatWire]
Information in this document applies to any platform.

Symptoms

When the <cs_deployed_dir>/<context/WEB-INF/weblogic.xml file has the following property:

<jsp-descriptor>
  <page-check-seconds>0</page-check-seconds>
 <compress-html-template>true</compress-html-template>  
</jsp-descriptor>

Any field that uses the CKEditor is not editable in Form Mode. In Web mode, editing can be performed with CKEditor without issue. 

The following may be observed in the Browser console:
A)  In Form mode, the error is "SyntaxError: missing ; before statement...(CKEDITOR.config, config_2620367) if(config_2620367['width'] == '#DEFAULT_WIDTH#..."
B)  In Web mode, the error is "SyntaxError: missing } in compound statement</script>"

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms