Issues with Google Chrome and self-hosted WordPress plugin
I'm using Zemanta as a WordPress plugin on the latest version of WP. It works fine under Firefox 3.5.x on Windows, but I'm having problems in Chrome (was v2, upgraded to v3 - same issue).
I have my images set to appear on the right with text wrap. If I add them in Chrome, it drops them onto the left and underneath the first line of text. This happens on two separate blogs. Firefox works fine.
Also, again only on Chrome, if I click on any of the "create a link" suggestions they are added, but the text editor window scrolls almost all the way back to the top.
Not sure if this behaviour is also on Linux - I need to check it.
I have my images set to appear on the right with text wrap. If I add them in Chrome, it drops them onto the left and underneath the first line of text. This happens on two separate blogs. Firefox works fine.
Also, again only on Chrome, if I click on any of the "create a link" suggestions they are added, but the text editor window scrolls almost all the way back to the top.
Not sure if this behaviour is also on Linux - I need to check it.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company has a solution in progress.
-
Inappropriate?Hi Iain,
I am sorry to hear that. Would you please let me know which version of WordPress are you using and provide me with a link to a post with such misaligned image? -
Inappropriate?Marko, thanks for getting back to me. The WordPress version is 2.8.4. I've just drafted a "test" post for you to have a look at. It's located at:
http://www.moshblog.me.uk/2009/09/16/...
I've noticed that it's actually placed the image before *all* text on the published article. During editing, it places it to the left and under the *first line* of text in the edit window. Also, it won't let me change the size of the image by clicking on the corners - the adjustment boxes just don't appear.
What I have been doing up until now is writing the post in Chrome as it's much faster, and then editing it in Firefox to add the images!
I’m frustrated
-
Inappropriate?Thanks Iain. I am looking into why Chrome is behaving differently than Firefox, but in the meantime you can add following lines to your CSS:
.alignright { float:right; }
.alignleft { float:left; }
We recently changed behavior of our widget somewhat to support the way newer WordPress versions handle alignment.
WP added classes align<direction> around version 2.6 and it uses them to correctly align images inside of the editor. At the same time compatible themes can use those classes to correctly align images once they are published.
Adding above two lines should add support for this to your theme. We don't write alignment styles directly to HTML anymore to better support WP way of doing things and to make it simpler to make site-wide changes through CSS.
I will get back to you when I find out why Chrome's editor misbehaves.</direction> -
Marko - thanks again. I'm using the "Atahualpa" theme and it already has those two exact lines of CSS code right at the top, so no joy there. Chrome's lovely and fast - shame it throws things like this up all the time! I reckon about one website in 40 that I visit has some issue or other with it. -
Inappropriate?Thank you for letting me know. I'm sorry to say I don't have any news for you yet.
-
No worries, Marko - you guys always work something out eventually so I'll just hold on until it suddenly starts working properly :) -
Inappropriate?Any news yet on when we may expect this behavior to be fixed? Chrome + Zemanta is essentially unusable for me until the pictures behave correctly.
I’m sad
Loading Profile...




EMPLOYEE