Hi. I'm looking for a Flex 4 rich text editor that produces cleaner code (with STYLE attributes instead of FONT tags). Here's a sample of what the RichTextEditor produces:
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000"
LETTERSPACING="0" KERNING="0">Enter text into the
Halo RichTextEditor control, then click a button to display your text as plain text,
or as HTML-formatted text.</FONT></P></TEXTFORMAT>
It would be nice to have a Flex 4 component that produces more standards-compliant HTML. Any options? Thanks.
there is a textflow component
still exports to font tags unfortunately, but its closer than the richtexteditor. Its basically at the point where you could even write your own small parser and adapt the output to the format you desire.