toggle-block in plugin