Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: UI > JavaScript & CSS
-
Labels:None
-
Environment:google chrome, LR r.73500
-
Branch Version/s:6.0.x
-
Similar Issues:
Description
Hi, there is a problem in ckeditor.jsp in function initCkArea() there is this statement :
ckEditor.setData(parent.<%= HtmlUtil.escape(initMethod) %>());
but "parent" is always null in google chrome, therefore the initMethod is never called...
I think it has something to do with the fact, that this javascript is within an iFrame and some browsers have problem with that.
Btw I don't know why, but if I put ckeditor in Alloy panel (via jsp tag), it is rendered twice: first time without the panel, second time with the panel... It is very easily reproducable, just do
<aui:panel collapsible='<%= true %>' label="label.details" id="details" >
<liferay-ui:input-editor width="700" height="400" initMethod='<%= renderResponse.getNamespace() + "initEditor" %>'/>
</aui:panel>
and you should see the result. Regards

It's a typical issue with google chrome, it sometimes doesn't allow to call "parent" function. But in LR ckeditor it has never worked for me since chrome 4 up to chrome 9