add common text editor functionality to textareas