Hi.
TinyMCE disallows some attributes of some elements (like style of images
in your case). You may tune it.
To do this, you need to modify ContentEditorTag class in AtLeap. Default
config for TinyMCE is hard-coded near 730-760 lines. Possibly you will
want to add 'style' to square brackets for 'img' in
'extended_valid_elements'. After modifying, you will need to refresh.
Documentation on related TinyMCE config entries is here:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/extended_valid_elements
and here:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elementsRoman Puchkovskiy
jeff gerbracht writes:
> I couldn't add a style to an image using the TinyMCE editor, either by using
> the image dialog or by editing html directly. Neither were saved to the
> database. However, once I switched editors to FCKEditor, I could set the
> style correctly. Switching back to TinyMCE and saving the page again (with
> no changes) resulted in the style element being deleted from the img tag.
> Any ideas on a fix for this?
> Thanks,
> Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...