Foros de discusión

Liferay CKEditor Popup Issue in Chrome

Mahmud Hossain, modificado hace 11 años.

Liferay CKEditor Popup Issue in Chrome

New Member Mensajes: 18 Fecha de incorporación: 28/05/12 Mensajes recientes
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.

Archivos adjuntos:

thumbnail
Jignesh Vachhani, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

Liferay Master Mensajes: 803 Fecha de incorporación: 10/03/08 Mensajes recientes
Yes I think that is bug in liferay popup for google chrome.
I also faced the same problem.
thumbnail
Marco Re, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

Junior Member Mensajes: 29 Fecha de incorporación: 30/07/09 Mensajes recientes
The bug is in CKEditor :

http://dev.ckeditor.com/ticket/8855
thumbnail
Prakash Khanchandani, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

Expert Mensajes: 329 Fecha de incorporación: 10/02/11 Mensajes recientes
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.

Archivos adjuntos:

thumbnail
Jignesh Vachhani, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

Liferay Master Mensajes: 803 Fecha de incorporación: 10/03/08 Mensajes recientes
Prakash, that's awesome to hear this news
Mahmud Hossain, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

New Member Mensajes: 18 Fecha de incorporación: 28/05/12 Mensajes recientes
Thank you very much. It works. Great. Another question, how can I include this with my liferay theme?
Mahmud Hossain, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

New Member Mensajes: 18 Fecha de incorporación: 28/05/12 Mensajes recientes
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, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

Expert Mensajes: 329 Fecha de incorporación: 10/02/11 Mensajes recientes
I have checked in Enterprise as well, the script works for me.
Jorge García, modificado hace 11 años.

RE: Liferay CKEditor Popup Issue in Chrome

New Member Mensajes: 12 Fecha de incorporación: 11/05/12 Mensajes recientes
Hi there Prakash

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

Regards