fix Editor's row
convert to typescript