Posts: 1
Threads: 1
Joined: Nov 2011
I have a few questions about the ckeditor within GetSimple. (I am using the advanced editor option FYI)
Firstly, I would like to restrict the editor so that i can remove some of the styles or add my own, Edit the tag list so that it only displays certain h2,h3,h4 etc.. and also remove the 'size' dropdown?
I would also like to know how i could go about adding a 'float' css option to images as the 'align' doesn't work like a float does when viewed in IE7.
thank you
Posts: 2,928
Threads: 195
Joined: Feb 2011
juliememe Wrote:I have a few questions about the ckeditor within GetSimple. (I am using the advanced editor option FYI)
Firstly, I would like to restrict the editor so that i can remove some of the styles or add my own, Edit the tag list so that it only displays certain h2,h3,h4 etc.. and also remove the 'size' dropdown?
you find this in the WIKI, see here:
http://get-simple.info/wiki/how_to:edito...om_toolbar
you can always define the toolbar yourself, restrict it or expand it
juliememe Wrote:I would also like to know how i could go about adding a 'float' css option to images as the 'align' doesn't work like a float does when viewed in IE7.thank you
this I do not know how to
Posts: 49
Threads: 8
Joined: Oct 2011
juliememe Wrote:I would also like to know how i could go about adding a 'float' css option to images as the 'align' doesn't work like a float does when viewed in IE7.
thank you
When using the WYSIWYG editor in GetSimple the "align" drop-down box in the Image Properties actually uses the float css attribute.
For example:
When you add an image in one of your pages in the Image Properties if you were to select "Left" in the Alignment drop-down box the code will output:
Code:
<img style="float:left;" src="..." alt="...">
If you click on the "Advanced" tab, the very last textbox will show what style info will be used on the image. There you should see "float:left;"
So to answer your question you are already floating the image not aligning it. I'm not sure if this helps. Can you provide a link to your site so I can see your code? I may be able to help further.
Posts: 2,094
Threads: 54
Joined: Jan 2011
juliememe Wrote:I would also like to know how i could go about adding a 'float' css option to images as the 'align' doesn't work like a float does when viewed in IE7.
You could also define a custom style (e.g. named
right) for
<p> with
float:right and put the image in this paragraph. This way you could also specify margins, paddings, etc. in your style sheet and could also use this style for right floating text or other content.