htmlText Editor

I created the htmlText Editor to solve a workflow issue I was running into while working on a project a while back.  I had a Flex app that was getting it’s text strings from an XML file.  Many of the strings were going to be formatted and used in an htmlText control.

The problem: Flex uses a subset of html 1.0.  Only very basic tags are allowed so I can’t just open up Dreamweaver and go to town creating my htmlText visually.

The solution: Create a text editor in Flex so that all the formatting is compliant.

The htmlText editor is simply a RichTextEditor control bound to a TextArea to display it’s htmlText property.  Using Regular Expressions, I gave the user the ability to filter out some of the many unnecessary tags that automatically get created but aren’t essential.

Enjoy!

htmlText Editor



This entry was posted on Thursday, September 11th, 2008 at 11:10 pm and is filed under Web Apps. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

Your comment