I've a big problem. I edit fckstyles.xml to add a style size in pt. to the styles combo. If I edit p.e the custom bold defined style, and I replace with font-size: 12pt, it works. If I add a new style p.e 12pt, when I recharge the page, the combo of styles are empty... I cleared the cache... If I replace with original file , and now appears the default styles.. It is a bug reading xml file? I'm on it two days, I'm taking crazy... SOME HELP?It has some size limitations of the xml file?Is it a known bug?
Mon, 05/02/2005 - 18:56
#1
RE: Problem addin STYLES to fckstyles.xml
RE: Problem addin STYLES to fckstyles.xml
If it doesn't work (when you tell me how to add to an xml and css file the 12pt example and I try it), i'm thinking about an error of parsing xml file...
RE: Problem addin STYLES to fckstyles.xml -
The trick is this : Define the style in CSS file and XML FILE. IE :
-XML FILE :
<Style name="8ptos" element="span">
<Attribute name="class" value="P8" />
</Style>
- And IN CSS FILE (fck_editorarea.css)
.P8
{
font-size: 8pt;
}
And...... IT WORKS!!! (CLEAR THE CACHE BEFORE).
I've done one .PXX to each size in pt that I want... And it works. THANKS.