Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X
-
7.1.x
-
Committed
-
3
Description
When creating web content there is no guarantee that an instance of CKEditor exists. Therefore the value of "CKEDITOR.instances" may not be defined and a reference error is returned.
Steps to Reproduce:
1. Start an instance of 7.1.
2. Create web content Structure in "Global" site without a rich text field (name: "plain-text-web-content") using provided attribute source code (below):
{ "availableLanguageIds": [ "en_US" ], "defaultLanguageId": "en_US", "fields": [ { "label": { "en_US": "Plain Text Content" }, "predefinedValue": { "en_US": "" }, "style": { "en_US": "" }, "tip": { "en_US": "" }, "dataType": "string", "indexType": "text", "localizable": true, "name": "plainTextContent", "readOnly": false, "repeatable": false, "required": false, "showLabel": true, "type": "textarea" } ] }
3. Create a template using this structure, with the template having only the plain text field (it should read as: ${plainTextContent.getData()})
4. Create a web content using this template.
5. Check the Chrome console.
Expected Result: No errors.
Actual Result: ReferenceError: CKEDITOR is not defined is thrown.
Reproduced in:
7.1.x - f7c65a1f64e813107fb1e116f8e5436ecd208287
7.1.x DXP-12 fix pack.
Not Reproduced in:
Master
7.0
Attachments
Issue Links
- is caused by
-
LPS-92661 Preview web content does not work with CKEditor
- Closed