Added changes to apply inner class to textarea