Adding editor states.