Arnaud25
(Arnaud Seel)
February 17, 2021, 8:11am
1
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 ?
Ryan100
(Ryan Pang)
February 17, 2021, 10:32am
2
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[]{});
Ryan100
(Ryan Pang)
February 17, 2021, 10:40am
3
You may see more options on image location.
Arnaud25
(Arnaud Seel)
February 17, 2021, 11:03am
4
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.
Ryan100
(Ryan Pang)
February 18, 2021, 10:20pm
5
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.
Arnaud25
(Arnaud Seel)
February 19, 2021, 7:15am
6
Working great !
Thx a lot for the support !