# NodeView with nested structure and parsing

**URL:** <https://discuss.prosemirror.net/t/nodeview-with-nested-structure-and-parsing/2678>\
**Category:** Uncategorized\
**Created:** [April 12, 2020, 8:39am UTC](https://discuss.prosemirror.net/t/nodeview-with-nested-structure-and-parsing/2678 "2020-04-12T08:39:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andreypopp](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/andreypopp/32/369_2.png) [@andreypopp](https://discuss.prosemirror.net/u/andreypopp)\
**Post date:** [April 12, 2020, 10:21am UTC](https://discuss.prosemirror.net/t/nodeview-with-nested-structure-and-parsing/2678/2 "2020-04-12T10:21:18Z")

</div>

Added some `console.log` inside PM:

- Seems like `contentElement` isn’t get called if `getContent` is set.
- `getContent` is set by PM itself on rule (and overrides the one provided by me) if `contentLost` is `true`

But I can’t figure out how `contentLost` become `true` in my case — seems like `contentDOM` element is being detached from `dom` element at some point.

---

_[View the full topic](https://discuss.prosemirror.net/t/nodeview-with-nested-structure-and-parsing/2678)._
