Last modified: 2014-11-15 12:12:23 UTC
If the alignment of an image is not explicitly set, Parsoid does not output an alignment class for the resultant figure element. This can lead to the image not being aligned/floated. We need to modify content.parsoid.less to apply the default right-alignment styling to all images and then override this in cases where the alignment is explicitly set.
Change 138038 had a related patch set uploaded by Kaldari: Make sure images that don't have an explicit alignment get aligned right https://gerrit.wikimedia.org/r/138038
Change 138106 had a related patch set uploaded by Kaldari: Make sure images are properly aligned in Mobile VisualEditor https://gerrit.wikimedia.org/r/138106
Change 138106 merged by jenkins-bot: Make sure images are properly aligned in Mobile VisualEditor https://gerrit.wikimedia.org/r/138106
*** Bug 66668 has been marked as a duplicate of this bug. ***
Right now this is deployed to group 1 wikis, but not yet to group 2. Lets keep this open until it has made its way there. Also see tracking bug 51245 for more Parsoid-specifc CSS tweaking.
(In reply to Gabriel Wicke from comment #5) > Right now this is deployed to group 1 wikis, but not yet to group 2. Lets > keep this open until it has made its way there. gwicke: So can this ticket be closed as FIXED?