Opened 14 years ago
Closed 14 years ago
#6930 closed Bug (fixed)
Aligning images does not work
Reported by: | Ed | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.5 |
Keywords: | Drupal | Cc: |
Description
I am using CKEditor 3.5 with Drupal 6.20 and CKEditor module 6.x-1.2.
When I insert an image and align it to right using the dialog, the preview displays the aligning properly. However, when I save/publish the page, the image is aligned to left. I have noticed in the source that the style definitions have been removed.
If I hack the code and use the align attribute, the aligning does work.
I have attached a screenshot: on top you see the preview/result, on the bottom, you see the CKEditor section.
Attachments (1)
Change History (5)
Changed 14 years ago by
Attachment: | ckeditorissue.gif added |
---|
comment:1 Changed 14 years ago by
I think this problem resembles the one described in http://dev.ckeditor.com/ticket/4246.
comment:2 follow-up: 3 Changed 14 years ago by
Status: | new → pending |
---|
Would you mind to share browser information as well as the content?
comment:3 Changed 14 years ago by
Replying to garry.yao:
Would you mind to share browser information as well as the content?
Browser:
IE 8.0.760.16385 (both compatibility on or off) Chrome 7.0.517.41
Which content would you like?
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | pending → closed |
The cause of this was that I had 'filtered HTML' as default input format. This strips some CSS tags, particularly the 'style' tag. Solution was to set the input format 'full HTML' as default.
Screenshot of improperly aligned image