Add editor listener