There was a project recently which required some extra functionality from a RTE that the default Flex 4 RTE didn’t provide, so I decided to roll my own using the Text Layout Framework (TLF) APIs provided in the Flex 4 SDK. The required functionality that was missing from the default RTE were the strike-through and text search capabilities. The text search also supports Actionscript regex matching.

After playing around with the TLF for a bit, I realized that it provides developers and typography enthusiasts an extremely powerful suite of text related capabilities. However, I do wish that some of the functionality could be built into the default Flex 4 RTE instead of having to roll our own to cobble together one that suits our needs.

Feel free to play around with the example and clone the github repo.