{"version":3,"file":"index.cjs","names":["Node"],"sources":["../src/document.ts","../src/index.ts"],"sourcesContent":["import { Node } from '@tiptap/core'\n\n/**\n * The default document node which represents the top level node of the editor.\n * @see https://tiptap.dev/api/nodes/document\n */\nexport const Document = Node.create({\n name: 'doc',\n topNode: true,\n content: 'block+',\n\n renderMarkdown: (node, h) => {\n if (!node.content) {\n return ''\n }\n\n return h.renderChildren(node.content, '\\n\\n')\n },\n})\n","import { Document } from './document.js'\n\nexport * from './document.js'\n\nexport default Document\n"],"mappings":";;;;;;;;;AAMA,MAAa,iCAAWA,CAAAA,CAAAA,KAAK,OAAO;CAClC,MAAM;CACN,SAAS;CACT,SAAS;CAET,iBAAiB,MAAM,MAAM;EAC3B,IAAI,CAAC,KAAK,SACR,OAAO;EAGT,OAAO,EAAE,eAAe,KAAK,SAAS,MAAM;CAC9C;AACF,CAAC;;;ACdD,IAAA,cAAe"}