If you select some text and e.g. set it to some size (this is not using pixels but with current code) it changes nicely into selected font-size.
Then select one or more words within the text you changed. Try to set to another size. As it is not it does not work. If you look at the source then you should see some nested FONT tags, but the inner FONT tag does not make any difference.
Using span tag and style="the size" works nicely.
This might be another reason to enable handling of font-sizes using the span tag and hopefully optionally make it possible to use px values as well.
When I test this in the online demo on fckedtior.net it works as it should.
I would still like it to optionally work with font-size in pixels. Hope someone can make it possible to set some property in fckconfig, if this is on then use SPAN tag and style="font-size:10;" way of dealing with font-size, else use as is today.
I would still very much like it to be possible to handle the font-size in pixels using the font-size dropdown. Hopefully possible to set a property in fckconfig.js that controls how to handle the font-size, either as now: using the FONT tag and size="2" or the new way using SPAN tag and style="font-size:12px"
addon: font-size bug ??
Then select one or more words within the text you changed.
Try to set to another size.
As it is not it does not work.
If you look at the source then you should see some nested FONT tags, but the inner FONT tag does not make any difference.
Using span tag and style="the size" works nicely.
This might be another reason to enable handling of font-sizes using the span tag and hopefully optionally make it possible to use px values as well.
RE: Font size bug I reported above
When I test this in the online demo on fckedtior.net it works as it should.
I would still like it to optionally work with font-size in pixels.
Hope someone can make it possible to set some property in fckconfig, if this is on then use SPAN tag and style="font-size:10;" way of dealing with font-size, else use as is today.
RE: Font size bug I reported above
RE: Font size bug I reported above
I confirm what Denny said.
I try to change the "font size" in order to use the font size in px, and after many tests, I use the style select.
To apply it, remove the 'FontSize' in the toolbar, and apply those styles in fckstyles.xml
<Style name="10px" element="span">
<Attribute name="style" value="font-size: 10px;" />
</Style>
<Style name="12px" element="span">
<Attribute name="style" value="font-size: 12px;" />
</Style>
[.. and all the sizes you want]
I think it's a temporary solution, which disable a functionnality and insert a few styles unwanted, but It's a solution which can be easily used.
Hope it help.....
Fred P.
RE: Font size
Using XML styles is one way to handle it, yes.
I would still very much like it to be possible to handle the font-size in pixels using the font-size dropdown. Hopefully possible to set a property in fckconfig.js that controls how to handle the font-size, either as now:
using the FONT tag and size="2"
or
the new way using SPAN tag and style="font-size:12px"
Thanks for reply
RE: Thanks fpeyrard
To Denny Valliant
If you know how to implement use of font-size in pixels, why do you not show how it can be done?
RE: To Denny Valliant
I'm holding a diagram of how to do it up to the screen as I type.
grep and logic are our friends!
To Denny Valliant
It just might be you are one of those.
If you do not have something constructive to say, then you probably should not say it. At least not in this forum.