Hi everybody,
I have a RichTextEditor which I am trying to set its default Font Face size and
color using the following CSS:
RichTextEditor
{
textAreaStyleName: 'rteStyle';
}
.rteStyle
{
font-size:26;
font-family:Arial;
color:#000000;
}
While this works, the htmlText output of the editor when used inside a
<mx:text/> field displays ... NOTHING (The text is there you can copy and paste
it but it seems that its renderer in ...micropixels)
removing the CSS font-face :
.rteStyle
{
font-size:26;
color:#000000;
}
fixed the rendering but .. breaks the initialization of the RichTextEditor...
It now displays as the selected font "Myriad Pro" (an embeded font i am using),
the font size to default 13 and the color to default white. Typing the first
character inide it it fixes the defaults to 26, black... Changing from Myriad
to Arial makes the htmlText of the Text field to disappear again... Plus Myriad
disappears from the font selector ...
Has anybody managed to use The richTextEditor ever? Am i doing something wrong?
IS IT REALLY SO BADLY IMPLEMENTED?