# Inlining a node for a comment plugin or best to use marks?

**URL:** <https://discuss.prosemirror.net/t/inlining-a-node-for-a-comment-plugin-or-best-to-use-marks/2391>\
**Category:** Uncategorized\
**Created:** [December 2, 2019, 11:51am UTC](https://discuss.prosemirror.net/t/inlining-a-node-for-a-comment-plugin-or-best-to-use-marks/2391 "2019-12-02T11:51:42Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![marcel](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marcel/32/1762_2.png) [@marcel](https://discuss.prosemirror.net/u/marcel)\
**Post date:** [October 19, 2020, 3:29pm UTC](https://discuss.prosemirror.net/t/inlining-a-node-for-a-comment-plugin-or-best-to-use-marks/2391/16 "2020-10-19T15:29:59Z")

</div>

As you can read in [this thread](https://discuss.prosemirror.net/t/offline-peer-to-peer-collaborative-editing-using-yjs/2488/5), “every synced change ends up replacing the whole document”. That’s also the reason I didn’t use y-prosemirror, yet (though the author said he started to [adapt the code to use Prosemirror transforms](https://discuss.prosemirror.net/t/offline-peer-to-peer-collaborative-editing-using-yjs/2488/13) at the beginning of this year).

---

_[View the full topic](https://discuss.prosemirror.net/t/inlining-a-node-for-a-comment-plugin-or-best-to-use-marks/2391)._
