Closed (fixed)
Project:
Tiny Tiny MCE
Version:
6.x-1.4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2008 at 09:57 UTC
Updated:
24 Jun 2008 at 11:04 UTC
Under the dialog "Image properties", select "appearance" then "alignment".
Select "right" for example.
Look at the HTML code:
align="right" is missing
Comments
Comment #1
Steve Lockwood commentedI wonder if you originally installed an older version of the tinytinymce module - this contained an initialization string for TinyMCE which did not support align=right.
The latest versions of the module do support this. To fix this:
- install the latest version (if you haven't already)
- in the settings screen (admin/settings/tinytinymce) click Reset to Defaults
If you don't want to Reset to Defaults, you can manually change the setting string by editing the TinyMCE init script for advanced mode. It should contain the line:
extended_valid_elements : "a[name|href|target|title|onclick],img[style|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
template_external_list_url : "example_template_list.js"
It's important that the IMG section of this string contains the STYLE attribute (and possibly also the ALIGN attribute) - older versions of the module lack this, which means that style attributes are not saved.
Steve
Comment #2
phicarre commentedOk, it's the good solution. Thank you.
But I have IMG sections without STYLE attribute: I must correct them "by hand" ?
Comment #3
Steve Lockwood commentedI would guess that you need to re-edit your pages and change the properties of each image using tinymce. This will put a style attribute on each image. I can't think of a quicker way, I'm afraid.
Comment #4
Steve Lockwood commented