How can I edit a task or a subtask?

You can simply tap on the title of a task or a subtask and the editing screen will appear on iOS, iPadOS, and watchOS, but on macOS, please double-click on a task or a subtask to show the editing screen.