Add the new way of creating an editor