Skip to content

Deleting the last comment at a given placeholder should remove the underlining #1694

@sampaccoud

Description

@sampaccoud

Bug Report

Problematic behavior
The underlining remains even after the last comment was deleted

Expected behavior/code
The underlining should disappear

Steps to Reproduce

  1. Go to a document
  2. Create a comment
  3. Delete the comment
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions