Hi ! So far the CKEditor is really nice and allows good performance in text

Hi ! So far the CKEditor is really nice and allows good performance in text editing !

But We can’t play too much with Images, it would be nice if at least we could put Images on left, middle or Right. The best would be a drag and drop system on Image, i guess. Maybe i missed something, but could you clear me out for that ?

If you are using latest version, this code might help.

config.setImage(new String[][]
{}, 
    "", new String[]{"full", "side", 
	"alignLeft", "alignCenter", "alignRight"}, 
	new String[]{"imageTextAlternative", "|",
	"imageStyle:alignLeft", 
	"imageStyle:full",
	"imageStyle:alignCenter", 
	"imageStyle:side", 
	"imageStyle:alignRight"}, new String[]{});

You may see more options on image location.

18534156.png

Thanks a lot for the support !

I knew it was something with imageStyle but i couldn’t find the information in the doc !

By the way i don’t know if it’s a bug or not but i can’t click on image buttons if i put the CKEditor in a Dialog.

Cheers.

Hi Arnaud,
Sorry for the late reply.
I guess this code might help.

dialog.setModal(false);

When set dialog as modeless, you need to manage dialog close action yourself.

Working great !

Thx a lot for the support !