added editor state