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.
When adjusting some of the advanced attributes on images (such as alignment), the changes appear live, however when saved the attributes are lost.
After some digging it appears that the 'style' attribute is being cleared on save.
The problem is only seen when the 'Flash' toolbar option is enabled along with the 'Image' toolbar option. The fix is to add 'style' to the 'extended_valid_elements' array on Line 423 of editors/tinymce.inc.
Comments
Comment #1
sunMarking as duplicate of #372165: TinyMCE 3: extended_valid_elements merged wrongly. Please search for existing issues before creating a new one. You can follow up on that issue instead to track its status. If any information from this issue is missing in the other issue, please make sure you provide it over there.
However, thanks for taking the time to report this issue.
Comment #2
OpenChimp CreditAttribution: OpenChimp commentedThis issue actually seems more similar to http://drupal.org/node/368388#comment-1556690 which has a simpler fix using advanced filter modules.
Comment #3
OpenChimp CreditAttribution: OpenChimp commentedoops. setting back to duplicate: http://drupal.org/node/368388#comment-1556690