remove text editor logics