Foren

Liferay CKEditor Popup Issue in Chrome

Mahmud Hossain, geändert vor 11 Jahren.

Liferay CKEditor Popup Issue in Chrome

New Member Beiträge: 18 Beitrittsdatum: 28.05.12 Neueste Beiträge
I'm having some trouble in Chrome. In the CKEditor of Liferay, when I click on the image icon to include an image, it opens up the Image Properties window. In that window, if I click on the Browse Server button, it opens up the Resources Browser window, which shows up minimized in window and minimized with and height in Mac. I'm trying to figure out how can I fix the issue which can be seen in the screenshot that I provided. I've tried using CKEDITOR.config.filebrowserWindowWidth, which works fine on all the browser except Chrome.
thumbnail
Jignesh Vachhani, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
Yes I think that is bug in liferay popup for google chrome.
I also faced the same problem.
thumbnail
Marco Re, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

Junior Member Beiträge: 29 Beitrittsdatum: 30.07.09 Neueste Beiträge
The bug is in CKEditor :

http://dev.ckeditor.com/ticket/8855
thumbnail
Prakash Khanchandani, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

Expert Beiträge: 329 Beitrittsdatum: 10.02.11 Neueste Beiträge
This happens for Chrome 18 and the latest Chrome 20, you need to change the docroot\html\js\editor\ckeditor\ckeditor.js file with a hook or directly update it in the ROOT.

Have attached the fixed javascript file, see it that helps.
thumbnail
Jignesh Vachhani, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
Prakash, that's awesome to hear this news
Mahmud Hossain, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

New Member Beiträge: 18 Beitrittsdatum: 28.05.12 Neueste Beiträge
Thank you very much. It works. Great. Another question, how can I include this with my liferay theme?
Mahmud Hossain, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

New Member Beiträge: 18 Beitrittsdatum: 28.05.12 Neueste Beiträge
Thanks, Prakash. That fixes the problem in Liferay Community Edition. Unfortunately, it doesn't work in Liferay Enterprise Edition. Do you know any other way that might work on Enterprise edition as well?
thumbnail
Prakash Khanchandani, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

Expert Beiträge: 329 Beitrittsdatum: 10.02.11 Neueste Beiträge
I have checked in Enterprise as well, the script works for me.
Jorge García, geändert vor 11 Jahren.

RE: Liferay CKEditor Popup Issue in Chrome

New Member Beiträge: 12 Beitrittsdatum: 11.05.12 Neueste Beiträge
Hi there Prakash

Could you tell me in which EE version is working for you the patch?

Regards