added default value for texteditor