Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there anyway to have just right or just left horizontal space using ckeditor

I am using ckeditor and I have a number of pictures in my content. One issue i see is that you have the ability to add horizontal or vertical space around a picture but you can't just set a right or just a left horizontal picture. Normally if I have a picture on the left side of a page and the content to the right, I would just want to set the right margin (to avoid the image being indented on the left)

from looking at the ckeditor demo, I only see the ability to set the space on both sides of the picture. Is there anyway around this without having to do custom css as I want to give this feature for non technical users?

enter image description here

like image 295
leora Avatar asked Nov 25 '22 08:11

leora


1 Answers

this uses custom css, but its in the ckeditor ui; right click on the image, click on the advanced option tab; change the margins to fit your needs. flushed left, margin-left:0; flushed right will be margin-right:0

like image 81
albert Avatar answered Dec 09 '22 17:12

albert