flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Chiverton ...@extravision.com>
Subject Re: Rich Text Editor -- convert the text into HTML format
Date Thu, 14 Nov 2013 14:44:36 GMT
I think you can either create a new ConversionType (and suitable 
interface, exporter class), or look into transforming the results of the 
passing the XML type flag to the existing exporter.

I'd probably go with the later. You may get lucky and not even need XSLT...


On 14/11/2013 14:23, Nitin Gopi wrote:
> Hi
> I am using a rich text editor in flex 3.6
> I have to send the HTML formatted text to the backend service which uses
> PHP. There the code is used to create pdf. Conversion from textformat to
> html tags is the work which I have to do. Currently I am trying to do it
> using regular expression. I am replacing the textformat tags with html tags
> like
> <li>ere</li><li>ere</li>  --> <ul><li>err</li><li>ere</li></ul>
> Is there some library or functionality which does it automatically?
> Thanks
> Nitin Gopi

View raw message