<CommentsProvider users={commentsUsers} myUserId={myUserId}>
<Plate plugins={plugins} initialValue={initialValue}
onChange={(data) => {
// COMMENTS ARE NOT COMING HERE...
}}
</Plate>
</CommentsProvider>
However CommentsProvider has events such as onCommentAdd, onCommentUpdate, onCommentDelete, but there is not exact guide anywhere which tell exacly how to save comment along with the platejs output content.
Description
Unable to save comments
However CommentsProvider has events such as
onCommentAdd
,onCommentUpdate
,onCommentDelete
, but there is not exact guide anywhere which tell exacly how to save comment along with the platejs output content.