changed editor field to only be rendered when editing