Since tasks‘s command is supposed to replace the existing „toggle“ command from obsidian, it should also behave similar.