Added some code changes for configure TextEditor module