I’ve just posted a new component and demo called ClippedImage which scales an image so that the bounding box of the component is always filled. The aspect ratio of the image will always be maintained. One dimension of the image will always extend to the edge of the bounding box rectangle and the other dimension will be clipped.
For instance, the width of an image will extend to the width of the bounding box. If the height of the image extends beyond the bounding box edge, it is clipped. If the rectangle changes size or shape and the image height becomes smaller than the bounding box edge, it will then be extended to the edge and the width dimension of the image will be clipped.
The image is clipped and scaled to fit, never stretched.
I just released a simple TLF-based text editor. It allows the end user to have a familiar interface and generates TextFlow on the fly as the user types. It’s simple and light-weight and supports most commonly used styles. It’s lighter weight than Adobe’s tlf text editor. This editor is perfect to use in a CMS.
I even implemented what I’m calling “soft bullets”. TLF 1.x doesn’t officially support bullets so I implemented it myself. The reason it’s soft is because you can insert the cursor before the bullet and type text and there are some other strange quirks, but it’s good enough to give the end user some decent styling options.
The source is released under MIT license, so feel free to use it in your apps and modify it for your needs. You can get the code on Google code.