Closed (outdated)
Project:
TinyMCE
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2008 at 09:50 UTC
Updated:
14 Jan 2021 at 19:45 UTC
Jump to comment: Most recent
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
rgraves commentedI'm also having this problem. Didn't have this problem when I was using Drupal 5.
Comment #2
rgraves commentedI figured it out. It was adding it to the 'style' attribute (e.g. style="float: right;") instead of the 'align' attribute (e.g. align="right").
I added 'style' to the list of valid elements in tinymce/plugin_reg.php:
Alternatively, if you want it to use 'align' instead, you can add this line to the plugin_reg.php file:
Comment #3
nicoloye commented