state editor