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

sun’s picture

Status: Active » Closed (duplicate)

Marking 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.

OpenChimp’s picture

Status: Closed (duplicate) » Active

This issue actually seems more similar to http://drupal.org/node/368388#comment-1556690 which has a simpler fix using advanced filter modules.

OpenChimp’s picture

Status: Active » Closed (duplicate)

oops. setting back to duplicate: http://drupal.org/node/368388#comment-1556690