In my application I feed the HTML output from the editor to another process that does not handle <span> tags. The change to using <span> instead of <font> tags is causing me a problem ( I don't have control over the other process).
Is there a configuration option to have the editor use <font> tags instead of <span> tags>?
Thanks,
-Steve
Is there a configuration option to have the editor use <font> tags instead of <span> tags>?
Thanks,
-Steve
Re: Would like to use <font> tag instead of <span>
Re: Would like to use <font> tag instead of <span>
Changing it to something like:
will make font tags when the style is changed...
hope this helps
Daan
Re: Would like to use <font> tag instead of <span>
thank you for your answer.
I tried this solution in different ways and I can replace the word span by font but that s all:
what I need to do is that instead for exemple <span syle = "color:rgb(255,102,0);"></span>, having <font color = '#CCCCC'></font>
I think there is something else to do in an other page but I don't know where.
Do you know something about that?
thanks a lot for all help.
theolechat
Re: Would like to use <font> tag instead of <span>
Daan
Re: Would like to use <font> tag instead of <span>
actually I just fixed this problem by using the version 2.3 of the editor but would be still
interested how to change the color format into #blablabla instead of rgb(bla,bla,bla)
Re: Would like to use <font> tag instead of <span>
-Steve
Re: Would like to use <font> tag instead of <span>
'Size' :
{
Element : 'span',
Styles : { 'font-size' : '#("Size","fontSize")' },
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
}
To this:
'Size' :
{
Element : 'font',
Attributes : { 'point-size' : '#("Size","fontSize")' },
Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ]
},
I used "point-size" instead of size which seemed to render properly in the editor as well as my final application, which was Flash Player 8. Although to get it to read in Flash Player 8 I had to change "point-size" to just "size", which I did when I processed the form results in php.
I also change the available font sizes on this line from "small, medium, etc" to the following:
FCKConfig.FontSizes = '10;16;22' ;
I haven't tried doing the same thing with Color yet, but hopefully it will work the same.
Cheers!
Re: Would like to use <font> tag instead of <span>
wileycoyote how did you change "point-size" to just "size" so flash can read?
thank you,
neworange
Re: Would like to use <font> tag instead of <span>
Re: Would like to use <font> tag instead of <span>
Has anyone figured out how to do this??
Thanks!