Skip to content

Comment marks not included in editor.document output after adding comments #1695

Open
@hsingh-ds

Description

@hsingh-ds

Describe the bug
When using the comment feature, adding a comment in the editor does not reflect as expected in the document structure. Specifically, when calling editor.document after adding a comment, the returned blocks do not include the comment marks—only the regular block structure is present.

To Reproduce

  1. Use the comment functionality as described in the documentation.
  2. Add a comment to some text in the editor.
  3. Retrieve the blocks using editor.document.
  4. Observe that the blocks do not contain the comment mark metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions