Styling TextFlow elements with CSS
I'm just trying to get my head around how to style individual elements of the TextFlow as you would in HTML/CSS where your markup contains no styling information - just pure markup. And the CSS formats the elements when you output the text.
Specifically I want to put a BackgroundColor on my LinkElements.
I started off exploring the Configuration class with its linkNormalFormatDefault and linkHoverFormatDefault properties. That worked basically, except I couldn't get a background color to show, and it inserted a bunch of styling tags baked into the markup - so if I was to save that markup to a database those styles would still be there the next time I rendered it.
So in order to keep the markup clean and free of built in styling I've been exploring the SimpleEditorWithCSS example that comes with the framework as an example. It uses textFlow.formatResolver to covert css styles to their associated formats in the TextFlow. Seems cool and just what I want, except I can't seem to style the links (or the <flow:a href tags). I've altered the CSSFormatResolver.as to try to get it to style the LinkElements but can't seem to.
Is there some easier way to go about this?
