Comment/discussion IDs retained when copying between editors
Author: zbeyensCreated Aug 12, 2026Updated Aug 12, 2026
Discussed in https://github.com/udecode/plate/discussions/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!
Source: udecode/plate