TwitterTextEditor

A plain text editor that supports safe text modification, attribute annotations such as syntax highlighting, pasting or drag and drop handling.

See GitHub repository for the details.