Model for editor