Elements is one of many text editors available in the App Store. It supports Dropbox, Markdown and TextExpander which makes it popular among iOS users. It's available for the iPhone, iPod touch and the iPad, but the iPad version really shines as a text editor. Version 2 was just released and adds several notable features for editing and exporting documents.
The iPad version uses the entire screen and the large onscreen keyboard, which makes it easy to create a text document or markdown file from scratch or edit an existing one on the fly. I don't have a Bluetooth keyboard and was unable to test this functionality in the latest version of the app.All documents can be uploaded to your Dropbox account and synced across devices. Even when you are offline, the file changes will be saved and uploaded when you connect. Elements uploads files to a default /Dropbox/Elements/ folder and you still can't change that location.
Variety is the spice of life and Elements has a bunch of export options that let you save your file as an HTML or PDF document. You can export the document to Tumblr, Facebook, Dropbox, Evernote, iTunes, and email.
Elements is a very capable text editor for the writer or coder that uses their iPad regularly. It's a universal app available for US$4.99 from the App Store.