Inserting entities in editor