@blocknote/core 0.28.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/dist/blocknote.cjs +9 -9
  2. package/dist/blocknote.cjs.map +1 -1
  3. package/dist/blocknote.js +3221 -3351
  4. package/dist/blocknote.js.map +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/dist/webpack-stats.json +1 -1
  7. package/package.json +2 -2
  8. package/src/api/__snapshots__/blocks-deleted-nested-deep.json +26 -0
  9. package/src/api/__snapshots__/blocks-deleted-nested.json +68 -0
  10. package/src/api/__snapshots__/blocks-deleted.json +26 -0
  11. package/src/api/__snapshots__/blocks-inserted-nested.json +62 -0
  12. package/src/api/__snapshots__/blocks-inserted.json +20 -0
  13. package/src/api/__snapshots__/blocks-updated-content-inserted.json +42 -0
  14. package/src/api/__snapshots__/blocks-updated-multiple-insert.json +50 -0
  15. package/src/api/__snapshots__/blocks-updated-multiple.json +82 -0
  16. package/src/api/__snapshots__/blocks-updated-nested-deep.json +42 -0
  17. package/src/api/__snapshots__/blocks-updated-nested-multiple.json +118 -0
  18. package/src/api/__snapshots__/blocks-updated-nested.json +78 -0
  19. package/src/api/__snapshots__/blocks-updated-single.json +42 -0
  20. package/src/api/__snapshots__/blocks-updated.json +42 -0
  21. package/src/api/blockManipulation/__snapshots__/transactions.test.ts.snap +34 -0
  22. package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap +312 -0
  23. package/src/api/blockManipulation/commands/insertBlocks/insertBlocks.test.ts +127 -94
  24. package/src/api/blockManipulation/commands/insertBlocks/insertBlocks.ts +19 -37
  25. package/src/api/blockManipulation/commands/mergeBlocks/mergeBlocks.test.ts +8 -6
  26. package/src/api/blockManipulation/commands/moveBlocks/moveBlocks.test.ts +25 -31
  27. package/src/api/blockManipulation/commands/moveBlocks/moveBlocks.ts +93 -91
  28. package/src/api/blockManipulation/commands/nestBlock/nestBlock.ts +16 -20
  29. package/src/api/blockManipulation/commands/replaceBlocks/replaceBlocks.test.ts +14 -1
  30. package/src/api/blockManipulation/commands/replaceBlocks/replaceBlocks.ts +18 -56
  31. package/src/api/blockManipulation/commands/splitBlock/splitBlock.test.ts +52 -46
  32. package/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap +1051 -0
  33. package/src/api/blockManipulation/commands/updateBlock/updateBlock.test.ts +247 -154
  34. package/src/api/blockManipulation/commands/updateBlock/updateBlock.ts +109 -142
  35. package/src/api/blockManipulation/getBlock/getBlock.ts +23 -48
  36. package/src/api/blockManipulation/insertContentAt.ts +4 -17
  37. package/src/api/blockManipulation/selections/selection.test.ts +32 -16
  38. package/src/api/blockManipulation/selections/selection.ts +25 -51
  39. package/src/api/blockManipulation/selections/textCursorPosition/textCursorPosition.test.ts +35 -14
  40. package/src/api/blockManipulation/selections/textCursorPosition/textCursorPosition.ts +34 -65
  41. package/src/api/clipboard/fromClipboard/handleFileInsertion.ts +8 -10
  42. package/src/api/clipboard/toClipboard/copyExtension.ts +7 -7
  43. package/src/api/exporters/html/util/serializeBlocksExternalHTML.ts +7 -16
  44. package/src/api/exporters/html/util/serializeBlocksInternalHTML.ts +3 -17
  45. package/src/api/getBlockInfoFromPos.ts +13 -1
  46. package/src/api/nodeConversions/blockToNode.ts +21 -10
  47. package/src/api/nodeConversions/fragmentToBlocks.ts +5 -18
  48. package/src/api/nodeConversions/nodeToBlock.ts +11 -8
  49. package/src/api/nodeUtil.test.ts +228 -0
  50. package/src/api/nodeUtil.ts +235 -2
  51. package/src/api/parsers/html/parseHTML.ts +2 -10
  52. package/src/api/parsers/markdown/parseMarkdown.ts +2 -8
  53. package/src/api/pmUtil.ts +54 -0
  54. package/src/api/positionMapping.ts +4 -2
  55. package/src/blocks/FileBlockContent/helpers/render/createAddFileButton.ts +2 -2
  56. package/src/blocks/HeadingBlockContent/HeadingBlockContent.ts +9 -13
  57. package/src/blocks/ListItemBlockContent/BulletListItemBlockContent/BulletListItemBlockContent.ts +5 -9
  58. package/src/blocks/ListItemBlockContent/CheckListItemBlockContent/CheckListItemBlockContent.ts +19 -31
  59. package/src/blocks/ListItemBlockContent/ListItemKeyboardShortcuts.ts +10 -8
  60. package/src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListItemBlockContent.ts +9 -13
  61. package/src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts +1 -1
  62. package/src/blocks/QuoteBlockContent/QuoteBlockContent.ts +5 -9
  63. package/src/blocks/defaultBlockHelpers.ts +1 -1
  64. package/src/editor/BlockNoteEditor.test.ts +1 -1
  65. package/src/editor/BlockNoteEditor.ts +259 -131
  66. package/src/editor/BlockNoteTipTapEditor.ts +91 -8
  67. package/src/extensions/Comments/CommentsPlugin.ts +32 -34
  68. package/src/extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts +4 -8
  69. package/src/extensions/LinkToolbar/LinkToolbarPlugin.ts +12 -13
  70. package/src/extensions/ShowSelection/ShowSelectionPlugin.ts +1 -3
  71. package/src/extensions/SideMenu/MultipleNodeSelection.ts +3 -1
  72. package/src/extensions/SideMenu/dragging.ts +1 -1
  73. package/src/extensions/SuggestionMenu/SuggestionPlugin.ts +22 -19
  74. package/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts +8 -8
  75. package/src/extensions/TableHandles/TableHandlesPlugin.ts +150 -136
  76. package/src/index.ts +4 -3
  77. package/src/schema/inlineContent/createSpec.ts +1 -5
  78. package/types/src/api/blockManipulation/commands/insertBlocks/insertBlocks.d.ts +2 -2
  79. package/types/src/api/blockManipulation/commands/replaceBlocks/replaceBlocks.d.ts +4 -8
  80. package/types/src/api/blockManipulation/commands/updateBlock/updateBlock.d.ts +9 -10
  81. package/types/src/api/blockManipulation/getBlock/getBlock.d.ts +7 -7
  82. package/types/src/api/blockManipulation/insertContentAt.d.ts +5 -3
  83. package/types/src/api/blockManipulation/selections/selection.d.ts +3 -3
  84. package/types/src/api/blockManipulation/selections/textCursorPosition/textCursorPosition.d.ts +5 -5
  85. package/types/src/api/getBlockInfoFromPos.d.ts +8 -1
  86. package/types/src/api/nodeConversions/blockToNode.d.ts +3 -3
  87. package/types/src/api/nodeConversions/fragmentToBlocks.d.ts +1 -2
  88. package/types/src/api/nodeConversions/nodeToBlock.d.ts +2 -2
  89. package/types/src/api/nodeUtil.d.ts +67 -1
  90. package/types/src/api/parsers/html/parseHTML.d.ts +1 -1
  91. package/types/src/api/parsers/markdown/parseMarkdown.d.ts +1 -1
  92. package/types/src/api/pmUtil.d.ts +12 -0
  93. package/types/src/editor/BlockNoteEditor.d.ts +72 -10
  94. package/types/src/editor/BlockNoteTipTapEditor.d.ts +15 -2
  95. package/types/src/extensions/TableHandles/TableHandlesPlugin.d.ts +1 -1
  96. package/types/src/index.d.ts +1 -2
  97. package/src/api/blockManipulation/commands/removeBlocks/__snapshots__/removeBlocks.test.ts.snap +0 -1859
  98. package/src/api/blockManipulation/commands/removeBlocks/removeBlocks.test.ts +0 -40
  99. package/src/api/blockManipulation/commands/removeBlocks/removeBlocks.ts +0 -20
  100. package/src/api/clipboard/__snapshots__/external/pasteEndOfParagraph.html +0 -138
  101. package/src/api/clipboard/__snapshots__/external/pasteEndOfParagraphText.html +0 -138
  102. package/src/api/clipboard/__snapshots__/external/pasteImage.html +0 -153
  103. package/src/api/clipboard/__snapshots__/external/pasteParagraphInCustomBlock.html +0 -138
  104. package/src/api/clipboard/__snapshots__/external/pasteTable.html +0 -233
  105. package/src/api/clipboard/__snapshots__/external/pasteTableInExistingTable.html +0 -216
  106. package/src/api/clipboard/__snapshots__/internal/basicBlocks.html +0 -1
  107. package/src/api/clipboard/__snapshots__/internal/basicBlocksWithProps.html +0 -1
  108. package/src/api/clipboard/__snapshots__/internal/childToParent.html +0 -1
  109. package/src/api/clipboard/__snapshots__/internal/childrenToNextParent.html +0 -1
  110. package/src/api/clipboard/__snapshots__/internal/childrenToNextParentsChildren.html +0 -1
  111. package/src/api/clipboard/__snapshots__/internal/image.html +0 -1
  112. package/src/api/clipboard/__snapshots__/internal/multipleChildren.html +0 -1
  113. package/src/api/clipboard/__snapshots__/internal/multipleStyledText.html +0 -1
  114. package/src/api/clipboard/__snapshots__/internal/nestedImage.html +0 -1
  115. package/src/api/clipboard/__snapshots__/internal/paragraphInCustomBlock.html +0 -1
  116. package/src/api/clipboard/__snapshots__/internal/partialChildToParent.html +0 -1
  117. package/src/api/clipboard/__snapshots__/internal/styledText.html +0 -1
  118. package/src/api/clipboard/__snapshots__/internal/tableAllCells.html +0 -1
  119. package/src/api/clipboard/__snapshots__/internal/tableCell.html +0 -1
  120. package/src/api/clipboard/__snapshots__/internal/tableCellText.html +0 -1
  121. package/src/api/clipboard/__snapshots__/internal/tableRow.html +0 -1
  122. package/src/api/clipboard/__snapshots__/internal/unstyledText.html +0 -1
  123. package/src/api/clipboard/clipboardExternal.test.ts +0 -161
  124. package/src/api/clipboard/clipboardInternal.test.ts +0 -435
  125. package/src/api/clipboard/testUtil.ts +0 -27
  126. package/src/api/exporters/html/__snapshots__/codeBlock/contains-newlines/external.html +0 -1
  127. package/src/api/exporters/html/__snapshots__/codeBlock/contains-newlines/internal.html +0 -3
  128. package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/external.html +0 -1
  129. package/src/api/exporters/html/__snapshots__/codeBlock/defaultLanguage/internal.html +0 -1
  130. package/src/api/exporters/html/__snapshots__/codeBlock/empty/external.html +0 -1
  131. package/src/api/exporters/html/__snapshots__/codeBlock/empty/internal.html +0 -1
  132. package/src/api/exporters/html/__snapshots__/codeBlock/python/external.html +0 -1
  133. package/src/api/exporters/html/__snapshots__/codeBlock/python/internal.html +0 -1
  134. package/src/api/exporters/html/__snapshots__/complex/misc/external.html +0 -1
  135. package/src/api/exporters/html/__snapshots__/complex/misc/internal.html +0 -1
  136. package/src/api/exporters/html/__snapshots__/customBlock/basic/external.html +0 -1
  137. package/src/api/exporters/html/__snapshots__/customBlock/basic/internal.html +0 -1
  138. package/src/api/exporters/html/__snapshots__/customParagraph/basic/external.html +0 -1
  139. package/src/api/exporters/html/__snapshots__/customParagraph/basic/internal.html +0 -1
  140. package/src/api/exporters/html/__snapshots__/customParagraph/lineBreaks/external.html +0 -1
  141. package/src/api/exporters/html/__snapshots__/customParagraph/lineBreaks/internal.html +0 -1
  142. package/src/api/exporters/html/__snapshots__/customParagraph/nested/external.html +0 -1
  143. package/src/api/exporters/html/__snapshots__/customParagraph/nested/internal.html +0 -1
  144. package/src/api/exporters/html/__snapshots__/customParagraph/styled/external.html +0 -1
  145. package/src/api/exporters/html/__snapshots__/customParagraph/styled/internal.html +0 -1
  146. package/src/api/exporters/html/__snapshots__/file/basic/external.html +0 -1
  147. package/src/api/exporters/html/__snapshots__/file/basic/internal.html +0 -1
  148. package/src/api/exporters/html/__snapshots__/file/button/external.html +0 -1
  149. package/src/api/exporters/html/__snapshots__/file/button/internal.html +0 -1
  150. package/src/api/exporters/html/__snapshots__/file/nested/external.html +0 -1
  151. package/src/api/exporters/html/__snapshots__/file/nested/internal.html +0 -1
  152. package/src/api/exporters/html/__snapshots__/file/noCaption/external.html +0 -1
  153. package/src/api/exporters/html/__snapshots__/file/noCaption/internal.html +0 -1
  154. package/src/api/exporters/html/__snapshots__/file/noName/external.html +0 -1
  155. package/src/api/exporters/html/__snapshots__/file/noName/internal.html +0 -1
  156. package/src/api/exporters/html/__snapshots__/fontSize/basic/external.html +0 -1
  157. package/src/api/exporters/html/__snapshots__/fontSize/basic/internal.html +0 -1
  158. package/src/api/exporters/html/__snapshots__/hardbreak/basic/external.html +0 -1
  159. package/src/api/exporters/html/__snapshots__/hardbreak/basic/internal.html +0 -1
  160. package/src/api/exporters/html/__snapshots__/hardbreak/between-links/external.html +0 -1
  161. package/src/api/exporters/html/__snapshots__/hardbreak/between-links/internal.html +0 -1
  162. package/src/api/exporters/html/__snapshots__/hardbreak/end/external.html +0 -1
  163. package/src/api/exporters/html/__snapshots__/hardbreak/end/internal.html +0 -1
  164. package/src/api/exporters/html/__snapshots__/hardbreak/link/external.html +0 -1
  165. package/src/api/exporters/html/__snapshots__/hardbreak/link/internal.html +0 -1
  166. package/src/api/exporters/html/__snapshots__/hardbreak/multiple/external.html +0 -1
  167. package/src/api/exporters/html/__snapshots__/hardbreak/multiple/internal.html +0 -1
  168. package/src/api/exporters/html/__snapshots__/hardbreak/only/external.html +0 -1
  169. package/src/api/exporters/html/__snapshots__/hardbreak/only/internal.html +0 -1
  170. package/src/api/exporters/html/__snapshots__/hardbreak/start/external.html +0 -1
  171. package/src/api/exporters/html/__snapshots__/hardbreak/start/internal.html +0 -1
  172. package/src/api/exporters/html/__snapshots__/hardbreak/styles/external.html +0 -1
  173. package/src/api/exporters/html/__snapshots__/hardbreak/styles/internal.html +0 -1
  174. package/src/api/exporters/html/__snapshots__/image/basic/external.html +0 -1
  175. package/src/api/exporters/html/__snapshots__/image/basic/internal.html +0 -1
  176. package/src/api/exporters/html/__snapshots__/image/button/external.html +0 -1
  177. package/src/api/exporters/html/__snapshots__/image/button/internal.html +0 -1
  178. package/src/api/exporters/html/__snapshots__/image/nested/external.html +0 -1
  179. package/src/api/exporters/html/__snapshots__/image/nested/internal.html +0 -1
  180. package/src/api/exporters/html/__snapshots__/image/noCaption/external.html +0 -1
  181. package/src/api/exporters/html/__snapshots__/image/noCaption/internal.html +0 -1
  182. package/src/api/exporters/html/__snapshots__/image/noName/external.html +0 -1
  183. package/src/api/exporters/html/__snapshots__/image/noName/internal.html +0 -1
  184. package/src/api/exporters/html/__snapshots__/image/noPreview/external.html +0 -1
  185. package/src/api/exporters/html/__snapshots__/image/noPreview/internal.html +0 -1
  186. package/src/api/exporters/html/__snapshots__/link/adjacent/external.html +0 -1
  187. package/src/api/exporters/html/__snapshots__/link/adjacent/internal.html +0 -1
  188. package/src/api/exporters/html/__snapshots__/link/basic/external.html +0 -1
  189. package/src/api/exporters/html/__snapshots__/link/basic/internal.html +0 -1
  190. package/src/api/exporters/html/__snapshots__/link/styled/external.html +0 -1
  191. package/src/api/exporters/html/__snapshots__/link/styled/internal.html +0 -1
  192. package/src/api/exporters/html/__snapshots__/lists/basic/external.html +0 -1
  193. package/src/api/exporters/html/__snapshots__/lists/basic/internal.html +0 -1
  194. package/src/api/exporters/html/__snapshots__/lists/nested/external.html +0 -1
  195. package/src/api/exporters/html/__snapshots__/lists/nested/internal.html +0 -1
  196. package/src/api/exporters/html/__snapshots__/mention/basic/external.html +0 -1
  197. package/src/api/exporters/html/__snapshots__/mention/basic/internal.html +0 -1
  198. package/src/api/exporters/html/__snapshots__/pageBreak/basic/external.html +0 -1
  199. package/src/api/exporters/html/__snapshots__/pageBreak/basic/internal.html +0 -1
  200. package/src/api/exporters/html/__snapshots__/paragraph/basic/external.html +0 -1
  201. package/src/api/exporters/html/__snapshots__/paragraph/basic/internal.html +0 -1
  202. package/src/api/exporters/html/__snapshots__/paragraph/empty/external.html +0 -1
  203. package/src/api/exporters/html/__snapshots__/paragraph/empty/internal.html +0 -1
  204. package/src/api/exporters/html/__snapshots__/paragraph/lineBreaks/external.html +0 -1
  205. package/src/api/exporters/html/__snapshots__/paragraph/lineBreaks/internal.html +0 -1
  206. package/src/api/exporters/html/__snapshots__/paragraph/nested/external.html +0 -1
  207. package/src/api/exporters/html/__snapshots__/paragraph/nested/internal.html +0 -1
  208. package/src/api/exporters/html/__snapshots__/paragraph/styled/external.html +0 -1
  209. package/src/api/exporters/html/__snapshots__/paragraph/styled/internal.html +0 -1
  210. package/src/api/exporters/html/__snapshots__/paste/parse-basic-block-types.json +0 -140
  211. package/src/api/exporters/html/__snapshots__/paste/parse-deep-nested-content.json +0 -240
  212. package/src/api/exporters/html/__snapshots__/paste/parse-div-with-inline-content.json +0 -91
  213. package/src/api/exporters/html/__snapshots__/paste/parse-divs.json +0 -19
  214. package/src/api/exporters/html/__snapshots__/paste/parse-fake-image-caption.json +0 -31
  215. package/src/api/exporters/html/__snapshots__/paste/parse-mixed-nested-lists.json +0 -70
  216. package/src/api/exporters/html/__snapshots__/paste/parse-nested-lists-with-paragraphs.json +0 -70
  217. package/src/api/exporters/html/__snapshots__/paste/parse-nested-lists.json +0 -70
  218. package/src/api/exporters/html/__snapshots__/simpleCustomParagraph/basic/external.html +0 -1
  219. package/src/api/exporters/html/__snapshots__/simpleCustomParagraph/basic/internal.html +0 -1
  220. package/src/api/exporters/html/__snapshots__/simpleCustomParagraph/nested/external.html +0 -1
  221. package/src/api/exporters/html/__snapshots__/simpleCustomParagraph/nested/internal.html +0 -1
  222. package/src/api/exporters/html/__snapshots__/simpleCustomParagraph/styled/external.html +0 -1
  223. package/src/api/exporters/html/__snapshots__/simpleCustomParagraph/styled/internal.html +0 -1
  224. package/src/api/exporters/html/__snapshots__/simpleFile/basic/external.html +0 -1
  225. package/src/api/exporters/html/__snapshots__/simpleFile/basic/internal.html +0 -1
  226. package/src/api/exporters/html/__snapshots__/simpleFile/button/external.html +0 -1
  227. package/src/api/exporters/html/__snapshots__/simpleFile/button/internal.html +0 -1
  228. package/src/api/exporters/html/__snapshots__/simpleFile/nested/external.html +0 -1
  229. package/src/api/exporters/html/__snapshots__/simpleFile/nested/internal.html +0 -1
  230. package/src/api/exporters/html/__snapshots__/simpleImage/basic/external.html +0 -1
  231. package/src/api/exporters/html/__snapshots__/simpleImage/basic/internal.html +0 -1
  232. package/src/api/exporters/html/__snapshots__/simpleImage/button/external.html +0 -1
  233. package/src/api/exporters/html/__snapshots__/simpleImage/button/internal.html +0 -1
  234. package/src/api/exporters/html/__snapshots__/simpleImage/nested/external.html +0 -1
  235. package/src/api/exporters/html/__snapshots__/simpleImage/nested/internal.html +0 -1
  236. package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/external.html +0 -1
  237. package/src/api/exporters/html/__snapshots__/simpleImage/noCaption/internal.html +0 -1
  238. package/src/api/exporters/html/__snapshots__/simpleImage/noName/external.html +0 -1
  239. package/src/api/exporters/html/__snapshots__/simpleImage/noName/internal.html +0 -1
  240. package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/external.html +0 -1
  241. package/src/api/exporters/html/__snapshots__/simpleImage/noPreview/internal.html +0 -1
  242. package/src/api/exporters/html/__snapshots__/small/basic/external.html +0 -1
  243. package/src/api/exporters/html/__snapshots__/small/basic/internal.html +0 -1
  244. package/src/api/exporters/html/__snapshots__/table/allColWidths/external.html +0 -1
  245. package/src/api/exporters/html/__snapshots__/table/allColWidths/internal.html +0 -1
  246. package/src/api/exporters/html/__snapshots__/table/basic/external.html +0 -1
  247. package/src/api/exporters/html/__snapshots__/table/basic/internal.html +0 -1
  248. package/src/api/exporters/html/__snapshots__/table/headerCols/external.html +0 -1
  249. package/src/api/exporters/html/__snapshots__/table/headerCols/internal.html +0 -1
  250. package/src/api/exporters/html/__snapshots__/table/headerRows/external.html +0 -1
  251. package/src/api/exporters/html/__snapshots__/table/headerRows/internal.html +0 -1
  252. package/src/api/exporters/html/__snapshots__/table/headersRows/external.html +0 -1
  253. package/src/api/exporters/html/__snapshots__/table/headersRows/internal.html +0 -1
  254. package/src/api/exporters/html/__snapshots__/table/mixedCellColors/external.html +0 -1
  255. package/src/api/exporters/html/__snapshots__/table/mixedCellColors/internal.html +0 -1
  256. package/src/api/exporters/html/__snapshots__/table/mixedColWidths/external.html +0 -1
  257. package/src/api/exporters/html/__snapshots__/table/mixedColWidths/internal.html +0 -1
  258. package/src/api/exporters/html/__snapshots__/table/mixedRowspansAndColspans/external.html +0 -1
  259. package/src/api/exporters/html/__snapshots__/table/mixedRowspansAndColspans/internal.html +0 -1
  260. package/src/api/exporters/html/__snapshots__/tag/basic/external.html +0 -1
  261. package/src/api/exporters/html/__snapshots__/tag/basic/internal.html +0 -1
  262. package/src/api/exporters/html/htmlConversion.test.ts +0 -110
  263. package/src/api/exporters/markdown/__snapshots__/codeBlock/contains-newlines/markdown.md +0 -4
  264. package/src/api/exporters/markdown/__snapshots__/codeBlock/defaultLanguage/markdown.md +0 -3
  265. package/src/api/exporters/markdown/__snapshots__/codeBlock/empty/markdown.md +0 -2
  266. package/src/api/exporters/markdown/__snapshots__/codeBlock/python/markdown.md +0 -3
  267. package/src/api/exporters/markdown/__snapshots__/complex/misc/markdown.md +0 -5
  268. package/src/api/exporters/markdown/__snapshots__/customBlock/basic/markdown.md +0 -5
  269. package/src/api/exporters/markdown/__snapshots__/customParagraph/basic/markdown.md +0 -1
  270. package/src/api/exporters/markdown/__snapshots__/customParagraph/lineBreaks/markdown.md +0 -1
  271. package/src/api/exporters/markdown/__snapshots__/customParagraph/nested/markdown.md +0 -5
  272. package/src/api/exporters/markdown/__snapshots__/customParagraph/styled/markdown.md +0 -1
  273. package/src/api/exporters/markdown/__snapshots__/file/basic/markdown.md +0 -3
  274. package/src/api/exporters/markdown/__snapshots__/file/button/markdown.md +0 -1
  275. package/src/api/exporters/markdown/__snapshots__/file/nested/markdown.md +0 -7
  276. package/src/api/exporters/markdown/__snapshots__/file/noCaption/markdown.md +0 -1
  277. package/src/api/exporters/markdown/__snapshots__/file/noName/markdown.md +0 -3
  278. package/src/api/exporters/markdown/__snapshots__/fontSize/basic/markdown.md +0 -1
  279. package/src/api/exporters/markdown/__snapshots__/hardbreak/basic/markdown.md +0 -2
  280. package/src/api/exporters/markdown/__snapshots__/hardbreak/between-links/markdown.md +0 -2
  281. package/src/api/exporters/markdown/__snapshots__/hardbreak/end/markdown.md +0 -1
  282. package/src/api/exporters/markdown/__snapshots__/hardbreak/link/markdown.md +0 -2
  283. package/src/api/exporters/markdown/__snapshots__/hardbreak/multiple/markdown.md +0 -3
  284. package/src/api/exporters/markdown/__snapshots__/hardbreak/only/markdown.md +0 -0
  285. package/src/api/exporters/markdown/__snapshots__/hardbreak/start/markdown.md +0 -1
  286. package/src/api/exporters/markdown/__snapshots__/hardbreak/styles/markdown.md +0 -2
  287. package/src/api/exporters/markdown/__snapshots__/image/basic/markdown.md +0 -3
  288. package/src/api/exporters/markdown/__snapshots__/image/button/markdown.md +0 -1
  289. package/src/api/exporters/markdown/__snapshots__/image/nested/markdown.md +0 -7
  290. package/src/api/exporters/markdown/__snapshots__/image/noCaption/markdown.md +0 -1
  291. package/src/api/exporters/markdown/__snapshots__/image/noName/markdown.md +0 -3
  292. package/src/api/exporters/markdown/__snapshots__/image/noPreview/markdown.md +0 -3
  293. package/src/api/exporters/markdown/__snapshots__/link/adjacent/markdown.md +0 -1
  294. package/src/api/exporters/markdown/__snapshots__/link/basic/markdown.md +0 -1
  295. package/src/api/exporters/markdown/__snapshots__/link/styled/markdown.md +0 -1
  296. package/src/api/exporters/markdown/__snapshots__/lists/basic/markdown.md +0 -10
  297. package/src/api/exporters/markdown/__snapshots__/lists/nested/markdown.md +0 -10
  298. package/src/api/exporters/markdown/__snapshots__/mention/basic/markdown.md +0 -1
  299. package/src/api/exporters/markdown/__snapshots__/pageBreak/basic/markdown.md +0 -0
  300. package/src/api/exporters/markdown/__snapshots__/paragraph/basic/markdown.md +0 -1
  301. package/src/api/exporters/markdown/__snapshots__/paragraph/empty/markdown.md +0 -0
  302. package/src/api/exporters/markdown/__snapshots__/paragraph/lineBreaks/markdown.md +0 -2
  303. package/src/api/exporters/markdown/__snapshots__/paragraph/nested/markdown.md +0 -5
  304. package/src/api/exporters/markdown/__snapshots__/paragraph/styled/markdown.md +0 -1
  305. package/src/api/exporters/markdown/__snapshots__/simpleCustomParagraph/basic/markdown.md +0 -1
  306. package/src/api/exporters/markdown/__snapshots__/simpleCustomParagraph/nested/markdown.md +0 -5
  307. package/src/api/exporters/markdown/__snapshots__/simpleCustomParagraph/styled/markdown.md +0 -1
  308. package/src/api/exporters/markdown/__snapshots__/simpleFile/basic/markdown.md +0 -3
  309. package/src/api/exporters/markdown/__snapshots__/simpleFile/button/markdown.md +0 -1
  310. package/src/api/exporters/markdown/__snapshots__/simpleFile/nested/markdown.md +0 -7
  311. package/src/api/exporters/markdown/__snapshots__/simpleImage/basic/markdown.md +0 -3
  312. package/src/api/exporters/markdown/__snapshots__/simpleImage/button/markdown.md +0 -1
  313. package/src/api/exporters/markdown/__snapshots__/simpleImage/nested/markdown.md +0 -7
  314. package/src/api/exporters/markdown/__snapshots__/simpleImage/noCaption/markdown.md +0 -1
  315. package/src/api/exporters/markdown/__snapshots__/simpleImage/noName/markdown.md +0 -3
  316. package/src/api/exporters/markdown/__snapshots__/simpleImage/noPreview/markdown.md +0 -3
  317. package/src/api/exporters/markdown/__snapshots__/small/basic/markdown.md +0 -1
  318. package/src/api/exporters/markdown/__snapshots__/table/allColWidths/markdown.md +0 -5
  319. package/src/api/exporters/markdown/__snapshots__/table/basic/markdown.md +0 -5
  320. package/src/api/exporters/markdown/__snapshots__/table/headerCols/markdown.md +0 -4
  321. package/src/api/exporters/markdown/__snapshots__/table/headerRows/markdown.md +0 -4
  322. package/src/api/exporters/markdown/__snapshots__/table/mixedCellColors/markdown.md +0 -5
  323. package/src/api/exporters/markdown/__snapshots__/table/mixedColWidths/markdown.md +0 -5
  324. package/src/api/exporters/markdown/__snapshots__/table/mixedRowspansAndColspans/markdown.md +0 -5
  325. package/src/api/exporters/markdown/__snapshots__/tag/basic/markdown.md +0 -1
  326. package/src/api/exporters/markdown/markdownExporter.test.ts +0 -86
  327. package/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap +0 -3473
  328. package/src/api/nodeConversions/nodeConversions.test.ts +0 -83
  329. package/src/api/parsers/html/__snapshots__/list-test.json +0 -177
  330. package/src/api/parsers/html/__snapshots__/parse-2-tables.json +0 -129
  331. package/src/api/parsers/html/__snapshots__/parse-basic-block-types.json +0 -142
  332. package/src/api/parsers/html/__snapshots__/parse-codeblocks.json +0 -62
  333. package/src/api/parsers/html/__snapshots__/parse-div-with-inline-content.json +0 -91
  334. package/src/api/parsers/html/__snapshots__/parse-divs.json +0 -121
  335. package/src/api/parsers/html/__snapshots__/parse-fake-image-caption.json +0 -33
  336. package/src/api/parsers/html/__snapshots__/parse-image-in-paragraph.json +0 -16
  337. package/src/api/parsers/html/__snapshots__/parse-mixed-nested-lists.json +0 -265
  338. package/src/api/parsers/html/__snapshots__/parse-nested-lists-with-paragraphs.json +0 -265
  339. package/src/api/parsers/html/__snapshots__/parse-nested-lists.json +0 -265
  340. package/src/api/parsers/html/__snapshots__/parse-notion-html.json +0 -565
  341. package/src/api/parsers/html/__snapshots__/parse-two-divs.json +0 -36
  342. package/src/api/parsers/html/parseHTML.test.ts +0 -563
  343. package/src/api/parsers/markdown/__snapshots__/complex.json +0 -353
  344. package/src/api/parsers/markdown/__snapshots__/issue-226-1.json +0 -71
  345. package/src/api/parsers/markdown/__snapshots__/issue-226-2.json +0 -144
  346. package/src/api/parsers/markdown/__snapshots__/nested.json +0 -72
  347. package/src/api/parsers/markdown/__snapshots__/non-nested.json +0 -71
  348. package/src/api/parsers/markdown/__snapshots__/pasted/complex.json +0 -319
  349. package/src/api/parsers/markdown/__snapshots__/pasted/issue-226-1.json +0 -81
  350. package/src/api/parsers/markdown/__snapshots__/pasted/issue-226-2.json +0 -165
  351. package/src/api/parsers/markdown/__snapshots__/pasted/nested.json +0 -81
  352. package/src/api/parsers/markdown/__snapshots__/pasted/non-nested.json +0 -81
  353. package/src/api/parsers/markdown/__snapshots__/pasted/styled.json +0 -61
  354. package/src/api/parsers/markdown/__snapshots__/pasted/whitespace bold.json +0 -42
  355. package/src/api/parsers/markdown/__snapshots__/styled.json +0 -58
  356. package/src/api/parsers/markdown/__snapshots__/whitespace bold.json +0 -19
  357. package/src/api/parsers/markdown/parseMarkdown.test.ts +0 -135
  358. package/src/api/testUtil/cases/customBlocks.ts +0 -342
  359. package/src/api/testUtil/cases/customInlineContent.ts +0 -113
  360. package/src/api/testUtil/cases/customStyles.ts +0 -102
  361. package/src/api/testUtil/cases/defaultSchema.ts +0 -1493
  362. package/src/api/testUtil/index.ts +0 -19
  363. package/src/api/testUtil/partialBlockTestUtil.ts +0 -198
  364. package/src/api/testUtil/paste.ts +0 -46
  365. package/types/src/api/blockManipulation/commands/removeBlocks/removeBlocks.d.ts +0 -4
  366. package/types/src/api/clipboard/clipboardExternal.test.d.ts +0 -1
  367. package/types/src/api/clipboard/clipboardInternal.test.d.ts +0 -1
  368. package/types/src/api/clipboard/testUtil.d.ts +0 -541
  369. package/types/src/api/exporters/html/htmlConversion.test.d.ts +0 -1
  370. package/types/src/api/exporters/markdown/markdownExporter.test.d.ts +0 -1
  371. package/types/src/api/nodeConversions/nodeConversions.test.d.ts +0 -1
  372. package/types/src/api/parsers/html/parseHTML.test.d.ts +0 -1
  373. package/types/src/api/parsers/markdown/parseMarkdown.test.d.ts +0 -1
  374. package/types/src/api/testUtil/cases/customBlocks.d.ts +0 -670
  375. package/types/src/api/testUtil/cases/customInlineContent.d.ts +0 -558
  376. package/types/src/api/testUtil/cases/customStyles.d.ts +0 -552
  377. package/types/src/api/testUtil/cases/defaultSchema.d.ts +0 -4
  378. package/types/src/api/testUtil/index.d.ts +0 -14
  379. package/types/src/api/testUtil/partialBlockTestUtil.d.ts +0 -9
  380. package/types/src/api/testUtil/paste.d.ts +0 -2
  381. /package/types/src/api/{blockManipulation/commands/removeBlocks/removeBlocks.test.d.ts → nodeUtil.test.d.ts} +0 -0
@@ -1,353 +0,0 @@
1
- [
2
- {
3
- "id": "1",
4
- "type": "heading",
5
- "props": {
6
- "textColor": "default",
7
- "backgroundColor": "default",
8
- "textAlignment": "left",
9
- "level": 1
10
- },
11
- "content": [
12
- {
13
- "type": "text",
14
- "text": "Heading 1",
15
- "styles": {}
16
- }
17
- ],
18
- "children": []
19
- },
20
- {
21
- "id": "2",
22
- "type": "heading",
23
- "props": {
24
- "textColor": "default",
25
- "backgroundColor": "default",
26
- "textAlignment": "left",
27
- "level": 2
28
- },
29
- "content": [
30
- {
31
- "type": "text",
32
- "text": "Heading 2",
33
- "styles": {}
34
- }
35
- ],
36
- "children": []
37
- },
38
- {
39
- "id": "3",
40
- "type": "heading",
41
- "props": {
42
- "textColor": "default",
43
- "backgroundColor": "default",
44
- "textAlignment": "left",
45
- "level": 3
46
- },
47
- "content": [
48
- {
49
- "type": "text",
50
- "text": "Heading 3",
51
- "styles": {}
52
- }
53
- ],
54
- "children": []
55
- },
56
- {
57
- "id": "4",
58
- "type": "paragraph",
59
- "props": {
60
- "textColor": "default",
61
- "backgroundColor": "default",
62
- "textAlignment": "left"
63
- },
64
- "content": [
65
- {
66
- "type": "text",
67
- "text": "Paragraph",
68
- "styles": {}
69
- }
70
- ],
71
- "children": []
72
- },
73
- {
74
- "id": "5",
75
- "type": "paragraph",
76
- "props": {
77
- "textColor": "default",
78
- "backgroundColor": "default",
79
- "textAlignment": "left"
80
- },
81
- "content": [
82
- {
83
- "type": "text",
84
- "text": "P",
85
- "styles": {}
86
- },
87
- {
88
- "type": "text",
89
- "text": "ara",
90
- "styles": {
91
- "bold": true
92
- }
93
- },
94
- {
95
- "type": "text",
96
- "text": "grap",
97
- "styles": {
98
- "italic": true
99
- }
100
- },
101
- {
102
- "type": "text",
103
- "text": "h",
104
- "styles": {}
105
- }
106
- ],
107
- "children": []
108
- },
109
- {
110
- "id": "6",
111
- "type": "paragraph",
112
- "props": {
113
- "textColor": "default",
114
- "backgroundColor": "default",
115
- "textAlignment": "left"
116
- },
117
- "content": [
118
- {
119
- "type": "text",
120
- "text": "P",
121
- "styles": {}
122
- },
123
- {
124
- "type": "text",
125
- "text": "ara",
126
- "styles": {
127
- "italic": true
128
- }
129
- },
130
- {
131
- "type": "text",
132
- "text": "grap",
133
- "styles": {
134
- "strike": true
135
- }
136
- },
137
- {
138
- "type": "text",
139
- "text": "h",
140
- "styles": {}
141
- }
142
- ],
143
- "children": []
144
- },
145
- {
146
- "id": "7",
147
- "type": "bulletListItem",
148
- "props": {
149
- "textColor": "default",
150
- "backgroundColor": "default",
151
- "textAlignment": "left"
152
- },
153
- "content": [
154
- {
155
- "type": "text",
156
- "text": "Bullet List Item",
157
- "styles": {}
158
- }
159
- ],
160
- "children": []
161
- },
162
- {
163
- "id": "8",
164
- "type": "bulletListItem",
165
- "props": {
166
- "textColor": "default",
167
- "backgroundColor": "default",
168
- "textAlignment": "left"
169
- },
170
- "content": [
171
- {
172
- "type": "text",
173
- "text": "Bullet List Item",
174
- "styles": {}
175
- }
176
- ],
177
- "children": [
178
- {
179
- "id": "9",
180
- "type": "bulletListItem",
181
- "props": {
182
- "textColor": "default",
183
- "backgroundColor": "default",
184
- "textAlignment": "left"
185
- },
186
- "content": [
187
- {
188
- "type": "text",
189
- "text": "Bullet List Item",
190
- "styles": {}
191
- }
192
- ],
193
- "children": [
194
- {
195
- "id": "10",
196
- "type": "bulletListItem",
197
- "props": {
198
- "textColor": "default",
199
- "backgroundColor": "default",
200
- "textAlignment": "left"
201
- },
202
- "content": [
203
- {
204
- "type": "text",
205
- "text": "Bullet List Item",
206
- "styles": {}
207
- }
208
- ],
209
- "children": []
210
- }
211
- ]
212
- },
213
- {
214
- "id": "11",
215
- "type": "bulletListItem",
216
- "props": {
217
- "textColor": "default",
218
- "backgroundColor": "default",
219
- "textAlignment": "left"
220
- },
221
- "content": [
222
- {
223
- "type": "text",
224
- "text": "Paragraph",
225
- "styles": {}
226
- }
227
- ],
228
- "children": [
229
- {
230
- "id": "12",
231
- "type": "numberedListItem",
232
- "props": {
233
- "textColor": "default",
234
- "backgroundColor": "default",
235
- "textAlignment": "left"
236
- },
237
- "content": [
238
- {
239
- "type": "text",
240
- "text": "Numbered List Item",
241
- "styles": {}
242
- }
243
- ],
244
- "children": []
245
- },
246
- {
247
- "id": "13",
248
- "type": "numberedListItem",
249
- "props": {
250
- "textColor": "default",
251
- "backgroundColor": "default",
252
- "textAlignment": "left"
253
- },
254
- "content": [
255
- {
256
- "type": "text",
257
- "text": "Numbered List Item",
258
- "styles": {}
259
- }
260
- ],
261
- "children": []
262
- },
263
- {
264
- "id": "14",
265
- "type": "numberedListItem",
266
- "props": {
267
- "textColor": "default",
268
- "backgroundColor": "default",
269
- "textAlignment": "left"
270
- },
271
- "content": [
272
- {
273
- "type": "text",
274
- "text": "Numbered List Item",
275
- "styles": {}
276
- }
277
- ],
278
- "children": [
279
- {
280
- "id": "15",
281
- "type": "numberedListItem",
282
- "props": {
283
- "textColor": "default",
284
- "backgroundColor": "default",
285
- "textAlignment": "left"
286
- },
287
- "content": [
288
- {
289
- "type": "text",
290
- "text": "Numbered List Item",
291
- "styles": {}
292
- }
293
- ],
294
- "children": []
295
- }
296
- ]
297
- },
298
- {
299
- "id": "16",
300
- "type": "bulletListItem",
301
- "props": {
302
- "textColor": "default",
303
- "backgroundColor": "default",
304
- "textAlignment": "left"
305
- },
306
- "content": [
307
- {
308
- "type": "text",
309
- "text": "Bullet List Item",
310
- "styles": {}
311
- }
312
- ],
313
- "children": []
314
- }
315
- ]
316
- },
317
- {
318
- "id": "17",
319
- "type": "bulletListItem",
320
- "props": {
321
- "textColor": "default",
322
- "backgroundColor": "default",
323
- "textAlignment": "left"
324
- },
325
- "content": [
326
- {
327
- "type": "text",
328
- "text": "Bullet List Item",
329
- "styles": {}
330
- }
331
- ],
332
- "children": []
333
- }
334
- ]
335
- },
336
- {
337
- "id": "18",
338
- "type": "bulletListItem",
339
- "props": {
340
- "textColor": "default",
341
- "backgroundColor": "default",
342
- "textAlignment": "left"
343
- },
344
- "content": [
345
- {
346
- "type": "text",
347
- "text": "Bullet List Item",
348
- "styles": {}
349
- }
350
- ],
351
- "children": []
352
- }
353
- ]
@@ -1,71 +0,0 @@
1
- [
2
- {
3
- "id": "1",
4
- "type": "bulletListItem",
5
- "props": {
6
- "textColor": "default",
7
- "backgroundColor": "default",
8
- "textAlignment": "left"
9
- },
10
- "content": [
11
- {
12
- "type": "text",
13
- "text": "📝 item1",
14
- "styles": {}
15
- }
16
- ],
17
- "children": []
18
- },
19
- {
20
- "id": "2",
21
- "type": "bulletListItem",
22
- "props": {
23
- "textColor": "default",
24
- "backgroundColor": "default",
25
- "textAlignment": "left"
26
- },
27
- "content": [
28
- {
29
- "type": "text",
30
- "text": "⚙️ item2",
31
- "styles": {}
32
- }
33
- ],
34
- "children": []
35
- },
36
- {
37
- "id": "3",
38
- "type": "bulletListItem",
39
- "props": {
40
- "textColor": "default",
41
- "backgroundColor": "default",
42
- "textAlignment": "left"
43
- },
44
- "content": [
45
- {
46
- "type": "text",
47
- "text": "🔗 item3",
48
- "styles": {}
49
- }
50
- ],
51
- "children": []
52
- },
53
- {
54
- "id": "4",
55
- "type": "heading",
56
- "props": {
57
- "textColor": "default",
58
- "backgroundColor": "default",
59
- "textAlignment": "left",
60
- "level": 1
61
- },
62
- "content": [
63
- {
64
- "type": "text",
65
- "text": "h1",
66
- "styles": {}
67
- }
68
- ],
69
- "children": []
70
- }
71
- ]
@@ -1,144 +0,0 @@
1
- [
2
- {
3
- "id": "1",
4
- "type": "bulletListItem",
5
- "props": {
6
- "textColor": "default",
7
- "backgroundColor": "default",
8
- "textAlignment": "left"
9
- },
10
- "content": [
11
- {
12
- "type": "text",
13
- "text": "a",
14
- "styles": {}
15
- }
16
- ],
17
- "children": []
18
- },
19
- {
20
- "id": "2",
21
- "type": "bulletListItem",
22
- "props": {
23
- "textColor": "default",
24
- "backgroundColor": "default",
25
- "textAlignment": "left"
26
- },
27
- "content": [
28
- {
29
- "type": "text",
30
- "text": "b",
31
- "styles": {}
32
- }
33
- ],
34
- "children": []
35
- },
36
- {
37
- "id": "3",
38
- "type": "bulletListItem",
39
- "props": {
40
- "textColor": "default",
41
- "backgroundColor": "default",
42
- "textAlignment": "left"
43
- },
44
- "content": [
45
- {
46
- "type": "text",
47
- "text": "c",
48
- "styles": {}
49
- }
50
- ],
51
- "children": []
52
- },
53
- {
54
- "id": "4",
55
- "type": "bulletListItem",
56
- "props": {
57
- "textColor": "default",
58
- "backgroundColor": "default",
59
- "textAlignment": "left"
60
- },
61
- "content": [
62
- {
63
- "type": "text",
64
- "text": "d",
65
- "styles": {}
66
- }
67
- ],
68
- "children": []
69
- },
70
- {
71
- "id": "5",
72
- "type": "paragraph",
73
- "props": {
74
- "textColor": "default",
75
- "backgroundColor": "default",
76
- "textAlignment": "left"
77
- },
78
- "content": [
79
- {
80
- "type": "text",
81
- "text": "anything",
82
- "styles": {}
83
- }
84
- ],
85
- "children": []
86
- },
87
- {
88
- "id": "6",
89
- "type": "paragraph",
90
- "props": {
91
- "textColor": "default",
92
- "backgroundColor": "default",
93
- "textAlignment": "left"
94
- },
95
- "content": [
96
- {
97
- "type": "link",
98
- "href": "http://example.com",
99
- "content": [
100
- {
101
- "type": "text",
102
- "text": "a link",
103
- "styles": {}
104
- }
105
- ]
106
- }
107
- ],
108
- "children": []
109
- },
110
- {
111
- "id": "7",
112
- "type": "bulletListItem",
113
- "props": {
114
- "textColor": "default",
115
- "backgroundColor": "default",
116
- "textAlignment": "left"
117
- },
118
- "content": [
119
- {
120
- "type": "text",
121
- "text": "another",
122
- "styles": {}
123
- }
124
- ],
125
- "children": []
126
- },
127
- {
128
- "id": "8",
129
- "type": "bulletListItem",
130
- "props": {
131
- "textColor": "default",
132
- "backgroundColor": "default",
133
- "textAlignment": "left"
134
- },
135
- "content": [
136
- {
137
- "type": "text",
138
- "text": "list",
139
- "styles": {}
140
- }
141
- ],
142
- "children": []
143
- }
144
- ]
@@ -1,72 +0,0 @@
1
- [
2
- {
3
- "id": "1",
4
- "type": "heading",
5
- "props": {
6
- "textColor": "default",
7
- "backgroundColor": "default",
8
- "textAlignment": "left",
9
- "level": 1
10
- },
11
- "content": [
12
- {
13
- "type": "text",
14
- "text": "Heading",
15
- "styles": {}
16
- }
17
- ],
18
- "children": []
19
- },
20
- {
21
- "id": "2",
22
- "type": "paragraph",
23
- "props": {
24
- "textColor": "default",
25
- "backgroundColor": "default",
26
- "textAlignment": "left"
27
- },
28
- "content": [
29
- {
30
- "type": "text",
31
- "text": "Paragraph",
32
- "styles": {}
33
- }
34
- ],
35
- "children": []
36
- },
37
- {
38
- "id": "3",
39
- "type": "bulletListItem",
40
- "props": {
41
- "textColor": "default",
42
- "backgroundColor": "default",
43
- "textAlignment": "left"
44
- },
45
- "content": [
46
- {
47
- "type": "text",
48
- "text": "Bullet List Item",
49
- "styles": {}
50
- }
51
- ],
52
- "children": [
53
- {
54
- "id": "4",
55
- "type": "numberedListItem",
56
- "props": {
57
- "textColor": "default",
58
- "backgroundColor": "default",
59
- "textAlignment": "left"
60
- },
61
- "content": [
62
- {
63
- "type": "text",
64
- "text": "Numbered List Item",
65
- "styles": {}
66
- }
67
- ],
68
- "children": []
69
- }
70
- ]
71
- }
72
- ]
@@ -1,71 +0,0 @@
1
- [
2
- {
3
- "id": "1",
4
- "type": "heading",
5
- "props": {
6
- "textColor": "default",
7
- "backgroundColor": "default",
8
- "textAlignment": "left",
9
- "level": 1
10
- },
11
- "content": [
12
- {
13
- "type": "text",
14
- "text": "Heading",
15
- "styles": {}
16
- }
17
- ],
18
- "children": []
19
- },
20
- {
21
- "id": "2",
22
- "type": "paragraph",
23
- "props": {
24
- "textColor": "default",
25
- "backgroundColor": "default",
26
- "textAlignment": "left"
27
- },
28
- "content": [
29
- {
30
- "type": "text",
31
- "text": "Paragraph",
32
- "styles": {}
33
- }
34
- ],
35
- "children": []
36
- },
37
- {
38
- "id": "3",
39
- "type": "bulletListItem",
40
- "props": {
41
- "textColor": "default",
42
- "backgroundColor": "default",
43
- "textAlignment": "left"
44
- },
45
- "content": [
46
- {
47
- "type": "text",
48
- "text": "Bullet List Item",
49
- "styles": {}
50
- }
51
- ],
52
- "children": []
53
- },
54
- {
55
- "id": "4",
56
- "type": "numberedListItem",
57
- "props": {
58
- "textColor": "default",
59
- "backgroundColor": "default",
60
- "textAlignment": "left"
61
- },
62
- "content": [
63
- {
64
- "type": "text",
65
- "text": "Numbered List Item",
66
- "styles": {}
67
- }
68
- ],
69
- "children": []
70
- }
71
- ]