Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I have Imce working with ckeditor. To be able to show images, I hear that it is better to add '' to the allowed tag list of 'filtered html' instead of using just 'full html'. True, this works, but the aligning of the images doesn't work with 'filtered html'. I also added
to the list with no result.
Is there any way to achieve this with 'filtered html' ?
Thanks in advance.
Cheers,
Danny
Comments
Comment #1
ufku CreditAttribution: ufku commentedIMCE does not interfere with the html code inserted into content. You should seek for the solution in the html inserting interface(wysiwyg probably).
You may define CSS classes for image alignment in your theme and apply them to images in the image insertion dialog of your editor.
Comment #2
Danny_Joris CreditAttribution: Danny_Joris commentedI'm a bit confused about this. I moved the issue from IMCE to ckeditor.
If IMCE does not interfere with html, why is there the alignment option then?
My client need to be able to use this. I can teach him the use of aligning the images, but i feel like he shouldn't be bothered with giving classnames to his pictures. For now I'm going to give my client 'full html' access.
Actually I'm very confused about this. :)
Cheers,
Danny
Comment #3
wwalc CreditAttribution: wwalc commentedYou're probably speaking about the Image dialog in CKEditor, see this issue #677612: image not resizing and 3# comment there to find out how to deal with filtered HTML input format.