Hi all
I'm using a rich text editor (
http://www.kevinroth.com/rte/ ) in a cms I'm working on. It works well but it outputs inline styles which 'I think' won't work in Flash (which is where the text ends up) - could be wrong about this...
So, I'm looking for a way to convert
<span style="color: rgb(255, 0, 0);"> asdfv</span>asdv <span style="font-weight: bold; text-decoration: underline;">asdv</span>
into
<font color="#ff0000"> asdfv</font> asdv <u><b>asdv</b></u>
Anyone know of a function that will do this for me? Don't mind if its javascript, php or actionscript.
Alternatively, does anybody know of a good rich text editor that works on most browsers and has an option to output old school html tags? Or is there a way to get that first string to work in a flash html textfield?
Thanks in advance