Added createEditor