Add if attribute to have conditional action in editor configuration.