Hello, and thank you for your help,
I want to modify the styles in my ckeditor,
i've found the good files, and have already create my own styles with success.
Now i want to create a style with a picture in background, i've tryed :
in "plugins/styles/default.js" :
try 1 : element:'fond',styles:{'background-image' :'url("/images/images/fondtitrrub.jpg")'}}
try 2 : element:'fond',styles:{'background-image' :'url(/images/images/fondtitrrub.jpg)'}}
try 3 : element:'fond',styles:{'background-image : url(/images/images/fondtitrrub.jpg)'}}
in " _source/plugins/styles/default.js" :
try 1 : { name : 'fond' , element : 'p', styles : { 'background-image' :'url("/images/images/fondtitrrub.jpg")' } },try 2 : { name : 'fond' , element : 'p', styles : { 'background-image' :'url(/images/images/fondtitrrub.jpg)' } },
try 3 : { name : 'fond' , element : 'p', styles : { 'background-image :url("/images/images/fondtitrrub.jpg")' } },
(changes are on the quotes)
it doesn't work, When i clic on "styles", there's no styles available.
What is the right syntaxe ?
Thanks a lot
Little fairy