Skip to content

Comment/discussion IDs retained when copying between editors #5093

Description

@zbeyens

Discussed in #5092

Originally posted by Sammaiah-Jai August 10, 2026

Comment/discussion IDs retained when copying between editors

Hey !

I'm using PlateJS comments/discussions and noticed that when content containing comments is copied from one Slate/Plate document and pasted into another, the original commentId / discussionId references are retained.

As a result, resolving the copied comment in the new document also resolves the original comment in the source document.

Expected: When copying between independent documents, source-specific comment/discussion references should either be removed or remapped to new IDs.

Is there an official/recommended way in Plate to strip or remap comment/discussion metadata during copy/paste? Is there an existing issue or implementation for this?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions