Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Mahmud Hossain
Liferay CKEditor Popup Issue in Chrome
July 24, 2012 4:40 PM
Answer

Mahmud Hossain

Rank: New Member

Posts: 18

Join Date: May 28, 2012

Recent Posts

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.
Attachment

Attachments: popup_issue.png (125.9k)
Jignesh Vachhani
RE: Liferay CKEditor Popup Issue in Chrome
July 24, 2012 11:42 PM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 783

Join Date: March 10, 2008

Recent Posts

Yes I think that is bug in liferay popup for google chrome.
I also faced the same problem.
Marco Re
RE: Liferay CKEditor Popup Issue in Chrome
July 25, 2012 3:16 AM
Answer

Marco Re

Rank: Junior Member

Posts: 28

Join Date: July 30, 2009

Recent Posts

The bug is in CKEditor :

http://dev.ckeditor.com/ticket/8855
Prakash Khanchandani
RE: Liferay CKEditor Popup Issue in Chrome
July 25, 2012 4:41 AM
Answer

Prakash Khanchandani

Rank: Expert

Posts: 321

Join Date: February 10, 2011

Recent Posts

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.
Attachments: ckeditor.js (344.5k)
Jignesh Vachhani
RE: Liferay CKEditor Popup Issue in Chrome
July 25, 2012 4:46 AM
Answer

Jignesh Vachhani

Rank: Liferay Master

Posts: 783

Join Date: March 10, 2008

Recent Posts

Prakash, that's awesome to hear this news
Mahmud Hossain
RE: Liferay CKEditor Popup Issue in Chrome
July 25, 2012 9:04 AM
Answer

Mahmud Hossain

Rank: New Member

Posts: 18

Join Date: May 28, 2012

Recent Posts

Thank you very much. It works. Great. Another question, how can I include this with my liferay theme?
Mahmud Hossain
RE: Liferay CKEditor Popup Issue in Chrome
July 26, 2012 6:09 PM
Answer

Mahmud Hossain

Rank: New Member

Posts: 18

Join Date: May 28, 2012

Recent Posts

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?
Prakash Khanchandani
RE: Liferay CKEditor Popup Issue in Chrome
July 27, 2012 12:54 AM
Answer

Prakash Khanchandani

Rank: Expert

Posts: 321

Join Date: February 10, 2011

Recent Posts

I have checked in Enterprise as well, the script works for me.
Jorge García
RE: Liferay CKEditor Popup Issue in Chrome
October 10, 2012 2:01 AM
Answer

Jorge García

Rank: New Member

Posts: 12

Join Date: May 11, 2012

Recent Posts

Hi there Prakash

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

Regards