Text/Image Padding
Posted
#3174
(In Topic #618)
No left padding on blogs
Where can I adjust the padding for images in blogs? Appreciate suggestions!!
Posted
If you can record a little screencast (e.g. using the free tool Jing) showing how to reproduce this layout, that would help diagnose the issue.
In theory Composr is meant to handle this automatically, but it depends on the various attachment settings.
Posted
I simply copied the text into the editor and then inserted the image, left alinged.
Image below shows what it looks like.
I am guessing i have to edit the global.css for attachments but need pointers.
Thanks.
Posted
Sorry for the delay.
I've looked at this now, and I can easily reproduce the issue.
There's an option, "Simplified attachments UI", which is on by default. If it is on then it doesn't ask you about alignment when you add the attachment, and thus bypasses our inbuilt alignment styles; and thus you have to do only what the WYSIWYG editor (CKEditor can do).
And unfortunately CKEditor cannot do the alignment padding, which I didn't realise before.
I think that's pretty poor, this should be easy. So I've patched CKEditor, and this patch will be in our next release also.
alignment.zip
You can extract the attached zipped data/ckeditor/plugins/image2/dialogs/image2.js file and upload it to your site.
Or if you prefer you can disable the "Simplified attachments UI" option.
2 guests and 0 members have recently viewed this.
