Drupal Association members fund grants that make connections all over the world.
I'm running a drupal installation with TinyMCE, IMCE file manager and the tiny imgAdvanced Button enabled. While editing, I see the style results on the images (f.ex. margin or border) in the TinyMCE editor field - but when I save the page, the styles of the image tag are stripped. The result is
The drupal filter is set to FullHtml (but in the debugging process I've already tried to create a new filter only for TinyMCE - without success for my problem.) If I disable the TinyMCE, the style attributes are save - but whenever I save the page with the Tiny, they are stripped again. Style attributes in other tags like
are save, they will not be stripped. The only solution I found so far, is to disable 'Verify html' in the TinyMCE settings. I think this is no good solution as on my site severals admins are editing text - and not everybody knows html.
My Question: Does anybody know the problem and - preferable - the solution. Can anybody tell me, how to edit the TinyMCE settings for 'verify html'. I suppose I have to add style into allowed attributes for the image tag- but I don't know where to do so ...
I hope I find some help here - I'm already trying to fix this problem for several hours and found many entries in the forum ... but none that solved my problem.