in src/plugin/nodeSpec.ts [58:65]
content: getContentStringFromFields(fieldDescription, nodeName),
attrs: {
[elementNodeAttr]: { default: true },
[elementSelectedNodeAttr]: { default: false },
// Used to determine which nodes should receive update decorations, which force them to update when the document changes. See `createUpdateDecorations` in prosemirror.ts.
addUpdateDecoration: { default: true },
type: { default: nodeName },
},