Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CK editor question
#1
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
Reply
#2
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
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
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.
Reply
#4
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.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply




Users browsing this thread: 1 Guest(s)