Skip to content

[Commenting] - adding new comment causes editor to go display blank content #52

Description

@zeigerpuppy

On testing of core-comments branch...

Have noticed issue, when adding new comment, the editor pane displays empty text content and markers on all lines.

Image

To reproduce:

  1. open document
  2. select a portion of text
  3. click on "Add comment" in comment pane - add comment and submit
  4. The editor pane now shows a blank view with comment markers on each line

It doesn't look like content is lost.
In some cases, a force-reload brings the content back to a normal view. In other cases, the content can't be seen with a force-reload in the editor pane. The preview pane shows correct content.

No console error messages, looks like a rendering issue.

Also noticed in a document which I could reveal by reload, that a line break has been inserted in the editor before the comment anchor, even though there is no line break in text there.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions