Roman Goyenko
Roman Goyenko

Reputation: 7070

WYSIWYG buttons don't show in IE for CKEditor

I have a fresh installation of Liferay on Tomcat and in IE7 it doesn't show the buttons for visual editing in the editor when I try to edit content. It works on in Firefox or Chrome.

Does anyone have an idea why would that happen? I am not sure where to dig, I don't see javascript exceptions and it doesn't look like the buttons are even populated in IE. It is hard to debug IE problems since I don't have a tool like Firebug there.

I downloaded the 6.1 and still have the same problem, adding the URLs of what I see. Looks like IE only has the text box and in the DOM I don't see the same things that I see in FF.

http://i44.tinypic.com/35jf5td.jpg

http://i43.tinypic.com/11qqvt0.jpg

Update on this: I checked with some people in our organization and they have the buttons on their browser. I checked the version of the IE browser and it's the same down to the last digit. Properties are the same as well. The only difference is that I have some plugins installed that the other browser doesn't. I tried disabling all the plugins but it didn't help.

The suspect plugin is Google Chrome Frame (ChromeFrame BHO). Can someone please try to add this plugin and see if it messes things up? The disabling it doesn't help.

Upvotes: 0

Views: 1385

Answers (2)

Roman Goyenko
Roman Goyenko

Reputation: 7070

Ok, I finally figured it out, so if someone has the same problem, here is the reason - we have Google Chrome Frame plugin installed in our organization, but it only works on white-listed domain names. In this case the domain the site was on wasn't whitelisted, but the portal looked at the agent string and saw chromeframe there and assumed it can use it as chrome browser, which broke things. Right now I will try to white-list the domain and see if it works. Another solution would be to try and find a place where we look for the agent string and fix it there, not sure where this place is.

Upvotes: 1

Pavel Horal
Pavel Horal

Reputation: 18194

Liferay CE 6.0 contains few bugs within the WYSIWYG editor integration.

One issue with IE is LPS-16004 (solution included). This might be the same problem as you are experiencing.

I remember we had also problem with javascript race condition in editor initialization, which sometimes loads the editor incorrectly.

But I strongly suggest you to move to Liferay CE 6.1 as it is much more stable.

Upvotes: 1

Related Questions