Bitten by contentDOM typo - this might help others who fell in that trap


the fact dom/contentDOM are optional attributes of the nodeView interface makes it quite difficult to debug when one makes a typo like i did (using contentDom). The nodeView content just won’t get rendered by prosemirror, and it could be hours before realizing where the error was. So now, when searching for a contentDOM problem in this forum, future users will find a hint of their mistake here :slight_smile:

Ouch. Not using a typed dialect (TypeScript/Flow/…), I guess?

I don’t… then maybe it’s a good day to start…