I am using fakeobjects to insert a div. When I insert the item, the editor wraps the fakeobjects in a paragraph tag, presumably because it is an image. But when I switch to the source view and back, the editor moves the div out of the paragraph - presumably because the editor doesn't allow div tags inside paragraph tags - which leaves an empty paragraph before the div.
So is there any way to specify the <img> tag to be a block level element, or to somehow tell ckeditor not to put this particular image inside a p tag?
So is there any way to specify the <img> tag to be a block level element, or to somehow tell ckeditor not to put this particular image inside a p tag?

Re: Fakeobjects problem caused by image inside p tag
That's a bit over my head; I'm not very good at the block-level stuff, but this guy has what I think is the same problem:
viewtopic.php?f=11&t=19545
Not that that helps much, but let us know if you make any progress or find a solution
Re: Fakeobjects problem caused by image inside p tag
However, I added the p tag to the $removeEmpty list in dtd.js, so the editor now removes the empty paragraph tags that were appearing when I switched between wysiwyg and source view. So this actually solved the problem, and is probably better solution than trying to make the img a block level element.