Bug Report
Problematic behavior
The underlining remains even after the last comment was deleted
Expected behavior/code
The underlining should disappear
Steps to Reproduce
- Go to a document
- Create a comment
- Delete the comment
- The underlining remains
Environment
- Docs version: 4.0.0
- Instance url: docs.numerique.gouv.fr
Possible Solution
Detect when the comment being deleted is the last one and clean the placeholder.