I've installed ckeditor, everything is going fine, it works well, but... There is one problem that is very problematic for me. I've got an article with image, I add float to left attribute for the image in image dialog box, so that text is right next to the image. I save node, and everything is as I want, but when I edit the article for the second time, the float atribute is disapearing. Any idea what is causing this? And what I can do to resolve this problem?

Comments

mephir’s picture

This situation can depends on filters in Input format which you are using. For an example HTML filter default strip out style attribute.

mephir’s picture

Status: Active » Fixed

If you have any lack of clarity about issue, feel free to reopen it.

mephir’s picture

Status: Fixed » Closed (fixed)
tmsimont’s picture

Version: 6.x-1.1 » 6.x-1.8
Category: support » bug
Status: Closed (fixed) » Active

I am having this same issue but it's a little more complex that what is described here.

To reproduce.

1) Enter text and align image to left or right, save page.

At this point, all is well. You can even hit edit, and re-save, and all is still well.

2) Log out, clear cache. Hard clear! Don't hit shift+reload because that will not clear the cache of the CKEditor iFrame. Make sure you totally wipe your browser cache.

3) Log in, and edit the page.

At this point, the image is no longer floating. Then, when re-saving, bye-bye alignment. You can just re-assign the alignment to fix, but clients that are taking over the site don't do this, so the result is broken pages.

mkesicki’s picture

@tmsimont please open new ticket with you problem (you can link it here).
Please don't reopen closed issues.
I close this ticket.

mkesicki’s picture

Status: Active » Closed (fixed)