implementing post editor