@blocknote/core 0.46.2 → 0.47.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 (47) hide show
  1. package/dist/{BlockNoteSchema-BkXw8HJ6.js → BlockNoteSchema-1r-ln0Q0.js} +2 -2
  2. package/dist/{BlockNoteSchema-BkXw8HJ6.js.map → BlockNoteSchema-1r-ln0Q0.js.map} +1 -1
  3. package/dist/{BlockNoteSchema-DmFDeA0n.cjs → BlockNoteSchema-DT4bdXj5.cjs} +2 -2
  4. package/dist/{BlockNoteSchema-DmFDeA0n.cjs.map → BlockNoteSchema-DT4bdXj5.cjs.map} +1 -1
  5. package/dist/{TrailingNode-CxM966vN.js → TrailingNode-DZag-Nvu.js} +448 -444
  6. package/dist/TrailingNode-DZag-Nvu.js.map +1 -0
  7. package/dist/TrailingNode-tesI8f7N.cjs +2 -0
  8. package/dist/TrailingNode-tesI8f7N.cjs.map +1 -0
  9. package/dist/blocknote.cjs +4 -4
  10. package/dist/blocknote.cjs.map +1 -1
  11. package/dist/blocknote.js +1053 -1014
  12. package/dist/blocknote.js.map +1 -1
  13. package/dist/blocks.cjs +1 -1
  14. package/dist/blocks.js +2 -2
  15. package/dist/{defaultBlocks-DE5GNdJH.js → defaultBlocks-BSOEW3GR.js} +3 -3
  16. package/dist/defaultBlocks-BSOEW3GR.js.map +1 -0
  17. package/dist/defaultBlocks-D049Pbme.cjs +6 -0
  18. package/dist/defaultBlocks-D049Pbme.cjs.map +1 -0
  19. package/dist/extensions.cjs +1 -1
  20. package/dist/extensions.js +3 -3
  21. package/dist/locales.cjs +1 -1
  22. package/dist/locales.cjs.map +1 -1
  23. package/dist/locales.js +813 -28
  24. package/dist/locales.js.map +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/webpack-stats.json +1 -1
  28. package/package.json +1 -1
  29. package/src/blocks/ListItem/CheckListItem/block.test.ts +61 -0
  30. package/src/blocks/ListItem/CheckListItem/block.ts +4 -0
  31. package/src/editor/Block.css +2 -2
  32. package/src/editor/transformPasted.ts +69 -0
  33. package/src/extensions/SideMenu/SideMenu.ts +44 -0
  34. package/src/extensions/tiptap-extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts +37 -11
  35. package/src/i18n/locales/fa.ts +390 -0
  36. package/src/i18n/locales/index.ts +2 -0
  37. package/src/i18n/locales/uz.ts +421 -0
  38. package/types/src/blocks/ListItem/CheckListItem/block.test.d.ts +1 -0
  39. package/types/src/i18n/locales/fa.d.ts +320 -0
  40. package/types/src/i18n/locales/index.d.ts +2 -0
  41. package/types/src/i18n/locales/uz.d.ts +2 -0
  42. package/dist/TrailingNode-CxM966vN.js.map +0 -1
  43. package/dist/TrailingNode-D-CZ76FS.cjs +0 -2
  44. package/dist/TrailingNode-D-CZ76FS.cjs.map +0 -1
  45. package/dist/defaultBlocks-DE5GNdJH.js.map +0 -1
  46. package/dist/defaultBlocks-DosClM5E.cjs +0 -6
  47. package/dist/defaultBlocks-DosClM5E.cjs.map +0 -1
@@ -1 +1 @@
1
- {"builtAt":1769545000731,"assets":[{"name":"blocks.cjs","size":3901},{"name":"extensions.cjs","size":2787},{"name":"yjs.cjs","size":882},{"name":"comments.cjs","size":16680},{"name":"locales.cjs","size":161252},{"name":"blocknote.cjs","size":74220},{"name":"EventEmitter-CLwfmbqG.cjs","size":614},{"name":"en-Cl87Uuyf.cjs","size":6760},{"name":"ShowSelection-BxnbRvy4.cjs","size":817},{"name":"BlockNoteExtension-BWw0r8Gy.cjs","size":497},{"name":"BlockNoteSchema-DmFDeA0n.cjs","size":5031},{"name":"blockToNode-CumVjgem.cjs","size":19433},{"name":"TrailingNode-D-CZ76FS.cjs","size":45992},{"name":"defaultBlocks-DosClM5E.cjs","size":66659},{"name":"EventEmitter-CLwfmbqG.cjs.map","size":2377},{"name":"en-Cl87Uuyf.cjs.map","size":15254},{"name":"BlockNoteExtension-BWw0r8Gy.cjs.map","size":9745},{"name":"ShowSelection-BxnbRvy4.cjs.map","size":3151},{"name":"BlockNoteSchema-DmFDeA0n.cjs.map","size":25059},{"name":"blockToNode-CumVjgem.cjs.map","size":122113},{"name":"TrailingNode-D-CZ76FS.cjs.map","size":217883},{"name":"defaultBlocks-DosClM5E.cjs.map","size":291635},{"name":"blocks.cjs.map","size":91},{"name":"yjs.cjs.map","size":5601},{"name":"extensions.cjs.map","size":3397},{"name":"comments.cjs.map","size":69921},{"name":"blocknote.cjs.map","size":342492},{"name":"locales.cjs.map","size":331893}],"chunks":[{"id":"c90dbef","entry":true,"initial":true,"files":["blocks.cjs"],"names":["blocks"]},{"id":"f16e717","entry":true,"initial":true,"files":["extensions.cjs"],"names":["extensions"]},{"id":"526cf7b","entry":true,"initial":true,"files":["yjs.cjs"],"names":["yjs"]},{"id":"1627b02","entry":true,"initial":true,"files":["comments.cjs"],"names":["comments"]},{"id":"9eaffe2","entry":true,"initial":true,"files":["locales.cjs"],"names":["locales"]},{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote.cjs"],"names":["blocknote"]},{"id":"c302b40","entry":false,"initial":true,"files":["EventEmitter-CLwfmbqG.cjs"],"names":["EventEmitter"]},{"id":"a1e239a","entry":false,"initial":true,"files":["en-Cl87Uuyf.cjs"],"names":["en"]},{"id":"da3865a","entry":false,"initial":true,"files":["ShowSelection-BxnbRvy4.cjs"],"names":["ShowSelection"]},{"id":"9db21a2","entry":false,"initial":true,"files":["BlockNoteExtension-BWw0r8Gy.cjs"],"names":["BlockNoteExtension"]},{"id":"7515671","entry":false,"initial":true,"files":["BlockNoteSchema-DmFDeA0n.cjs"],"names":["BlockNoteSchema"]},{"id":"cdc653a","entry":false,"initial":true,"files":["blockToNode-CumVjgem.cjs"],"names":["blockToNode"]},{"id":"0c166b6","entry":false,"initial":true,"files":["TrailingNode-D-CZ76FS.cjs"],"names":["TrailingNode"]},{"id":"5d7fff5","entry":false,"initial":true,"files":["defaultBlocks-DosClM5E.cjs"],"names":["defaultBlocks"]}],"modules":[{"name":"./src/blocks/index.ts","size":0,"chunks":["c90dbef"]},{"name":"./src/extensions/SuggestionMenu/getDefaultEmojiPickerItems.ts","size":1294,"chunks":["f16e717"]},{"name":"./src/extensions/index.ts","size":0,"chunks":["f16e717"]},{"name":"./src/yjs/utils.ts","size":1121,"chunks":["526cf7b"]},{"name":"./src/yjs/index.ts","size":0,"chunks":["526cf7b"]},{"name":"./src/comments/mark.ts","size":1428,"chunks":["1627b02"]},{"name":"./src/comments/userstore/UserStore.ts","size":1367,"chunks":["1627b02"]},{"name":"./src/comments/extension.ts","size":8484,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/ThreadStoreAuth.ts","size":25,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/DefaultThreadStoreAuth.ts","size":2014,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/ThreadStore.ts","size":77,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/TipTapThreadStore.ts","size":5321,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/yjsHelpers.ts","size":3002,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/YjsThreadStoreBase.ts","size":849,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/RESTYjsThreadStore.ts","size":2069,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/YjsThreadStore.ts","size":7267,"chunks":["1627b02"]},{"name":"./src/comments/index.ts","size":0,"chunks":["1627b02"]},{"name":"./src/i18n/locales/ar.ts","size":9531,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/de.ts","size":10742,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/es.ts","size":10261,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/fr.ts","size":11221,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/he.ts","size":9268,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/hr.ts","size":10088,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/is.ts","size":10269,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/it.ts","size":10687,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ja.ts","size":9098,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ko.ts","size":8586,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/nl.ts","size":10215,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/no.ts","size":10394,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pl.ts","size":9911,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pt.ts","size":10066,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ru.ts","size":11236,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/sk.ts","size":9951,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/uk.ts","size":10896,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/vi.ts","size":9932,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/zh.ts","size":8562,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/zh-tw.ts","size":8602,"chunks":["9eaffe2"]},{"name":"./src/i18n/index.ts","size":0,"chunks":["9eaffe2"]},{"name":"./src/schema/inlineContent/createSpec.ts","size":3798,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/insertBlocks/insertBlocks.ts","size":835,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/replaceBlocks/util/fixColumnList.ts","size":3571,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/replaceBlocks/replaceBlocks.ts","size":2248,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/util/serializeBlocksInternalHTML.ts","size":4945,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/internalHTMLSerializer.ts","size":3355,"chunks":["a1ee98a"]},{"name":"./src/style.css","size":0,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/moveBlocks/moveBlocks.ts","size":5694,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/nestBlock/nestBlock.ts","size":2059,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/getBlock/getBlock.ts","size":2047,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/BlockManager.ts","size":6463,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/EventManager.ts","size":2277,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/util/nestedLists.ts","size":2170,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/parseHTML.ts","size":435,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/parseMarkdown.ts","size":2176,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/ExportManager.ts","size":3749,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/acceptedMIMETypes.ts","size":134,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/handleFileInsertion.ts","size":4164,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/fileDropExtension.ts","size":884,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/detectMarkdown.ts","size":1140,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/handleVSCodePaste.ts","size":661,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/pasteExtension.ts","size":2412,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/toClipboard/copyExtension.ts","size":5222,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/BackgroundColor/BackgroundColorExtension.ts","size":306,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/HardBreak/HardBreak.ts","size":376,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/mergeBlocks/mergeBlocks.ts","size":2907,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts","size":15783,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/Suggestions/SuggestionMarks.ts","size":4452,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/TextAlignment/TextAlignmentExtension.ts","size":936,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/TextColor/TextColorExtension.ts","size":291,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockContainer.ts","size":2184,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockGroup.ts","size":1160,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/Doc.ts","size":134,"chunks":["a1ee98a"]},{"name":"./src/extensions/Collaboration/Collaboration.ts","size":407,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/ExtensionManager/extensions.ts","size":3946,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/ExtensionManager/index.ts","size":12149,"chunks":["a1ee98a"]},{"name":"./src/util/expandToWords.ts","size":915,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/selection.ts","size":5353,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/textCursorPosition.ts","size":2564,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/SelectionManager.ts","size":2657,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/StateManager.ts","size":6203,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/insertContentAt.ts","size":1049,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/StyleManager.ts","size":4319,"chunks":["a1ee98a"]},{"name":"./src/editor/transformPasted.ts","size":2561,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteEditor.ts","size":27029,"chunks":["a1ee98a"]},{"name":"./src/exporter/Exporter.ts","size":1101,"chunks":["a1ee98a"]},{"name":"./src/exporter/mapping.ts","size":197,"chunks":["a1ee98a"]},{"name":"./src/util/combineByGroup.ts","size":550,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"name":"./src/util/EventEmitter.ts","size":744,"chunks":["c302b40"]},{"name":"./src/i18n/locales/en.ts","size":9591,"chunks":["a1e239a"]},{"name":"./src/extensions/ShowSelection/ShowSelection.ts","size":1633,"chunks":["da3865a"]},{"name":"./src/editor/managers/ExtensionManager/symbol.ts","size":56,"chunks":["9db21a2"]},{"name":"./src/editor/BlockNoteExtension.ts","size":617,"chunks":["9db21a2"]},{"name":"./src/util/topo-sort.ts","size":3045,"chunks":["7515671"]},{"name":"./src/schema/schema.ts","size":4026,"chunks":["7515671"]},{"name":"./src/blocks/PageBreak/block.ts","size":911,"chunks":["7515671"]},{"name":"./src/blocks/File/helpers/uploadToTmpFilesDotOrg_DEV_ONLY.ts","size":316,"chunks":["7515671"]},{"name":"./src/blocks/PageBreak/getPageBreakSlashMenuItems.ts","size":473,"chunks":["7515671"]},{"name":"./src/blocks/BlockNoteSchema.ts","size":372,"chunks":["7515671"]},{"name":"./src/extensions/tiptap-extensions/UniqueID/UniqueID.ts","size":8905,"chunks":["cdc653a"]},{"name":"./src/schema/inlineContent/types.ts","size":302,"chunks":["cdc653a"]},{"name":"./src/util/table.ts","size":1212,"chunks":["cdc653a"]},{"name":"./src/util/typescript.ts","size":331,"chunks":["cdc653a"]},{"name":"./src/api/getBlockInfoFromPos.ts","size":3797,"chunks":["cdc653a"]},{"name":"./src/api/pmUtil.ts","size":651,"chunks":["cdc653a"]},{"name":"./src/api/nodeConversions/nodeToBlock.ts","size":13078,"chunks":["cdc653a"]},{"name":"./src/api/blockManipulation/tables/tables.ts","size":10354,"chunks":["cdc653a"]},{"name":"./src/api/nodeConversions/blockToNode.ts","size":7193,"chunks":["cdc653a"]},{"name":"./src/api/exporters/html/util/serializeBlocksExternalHTML.ts","size":7812,"chunks":["0c166b6"]},{"name":"./src/api/exporters/html/externalHTMLExporter.ts","size":904,"chunks":["0c166b6"]},{"name":"./src/api/getBlocksChangedByTransaction.ts","size":6565,"chunks":["0c166b6"]},{"name":"./src/extensions/BlockChange/BlockChange.ts","size":1090,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/YCursorPlugin.ts","size":4875,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/YSync.ts","size":228,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/YUndo.ts","size":279,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/ForkYDoc.ts","size":3442,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/schemaMigration/migrationRules/moveColorAttributes.ts","size":1684,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/schemaMigration/migrationRules/index.ts","size":45,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/schemaMigration/SchemaMigration.ts","size":1343,"chunks":["0c166b6"]},{"name":"./src/extensions/DropCursor/DropCursor.ts","size":333,"chunks":["0c166b6"]},{"name":"./src/extensions/FormattingToolbar/FormattingToolbar.ts","size":2236,"chunks":["0c166b6"]},{"name":"./src/extensions/History/History.ts","size":213,"chunks":["0c166b6"]},{"name":"./src/extensions/LinkToolbar/LinkToolbar.ts","size":2883,"chunks":["0c166b6"]},{"name":"./src/extensions/LinkToolbar/protocols.ts","size":172,"chunks":["0c166b6"]},{"name":"./src/extensions/NodeSelectionKeyboard/NodeSelectionKeyboard.ts","size":1402,"chunks":["0c166b6"]},{"name":"./src/extensions/Placeholder/Placeholder.ts","size":4034,"chunks":["0c166b6"]},{"name":"./src/extensions/PreviousBlockType/PreviousBlockType.ts","size":4792,"chunks":["0c166b6"]},{"name":"./src/extensions/getDraggableBlockFromElement.ts","size":404,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/util/removeUnderlinesRehypePlugin.ts","size":752,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/util/addSpacesToCheckboxesRehypePlugin.ts","size":775,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/util/convertVideoToMarkdownRehypePlugin.ts","size":470,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/markdownExporter.ts","size":674,"chunks":["0c166b6"]},{"name":"./src/api/nodeConversions/fragmentToBlocks.ts","size":665,"chunks":["0c166b6"]},{"name":"./src/extensions/SideMenu/MultipleNodeSelection.ts","size":1700,"chunks":["0c166b6"]},{"name":"./src/extensions/SideMenu/dragging.ts","size":4742,"chunks":["0c166b6"]},{"name":"./src/extensions/SideMenu/SideMenu.ts","size":16191,"chunks":["0c166b6"]},{"name":"./src/extensions/TableHandles/TableHandles.ts","size":28013,"chunks":["0c166b6"]},{"name":"./src/extensions/TrailingNode/TrailingNode.ts","size":1589,"chunks":["0c166b6"]},{"name":"./src/util/browser.ts","size":643,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultBlockHelpers.ts","size":2115,"chunks":["5d7fff5"]},{"name":"./src/util/string.ts","size":656,"chunks":["5d7fff5"]},{"name":"./src/schema/blocks/internal.ts","size":3387,"chunks":["5d7fff5"]},{"name":"./src/schema/blocks/createSpec.ts","size":6873,"chunks":["5d7fff5"]},{"name":"./src/schema/inlineContent/internal.ts","size":1428,"chunks":["5d7fff5"]},{"name":"./src/schema/styles/internal.ts","size":2887,"chunks":["5d7fff5"]},{"name":"./src/schema/styles/createSpec.ts","size":2498,"chunks":["5d7fff5"]},{"name":"./src/api/nodeUtil.ts","size":549,"chunks":["5d7fff5"]},{"name":"./src/api/blockManipulation/commands/updateBlock/updateBlock.ts","size":8527,"chunks":["5d7fff5"]},{"name":"./src/editor/defaultColors.ts","size":1193,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultProps.ts","size":3350,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/parse/parseFigureElement.ts","size":342,"chunks":["5d7fff5"]},{"name":"./src/extensions/FilePanel/FilePanel.ts","size":822,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createAddFileButton.ts","size":1846,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createFileNameWithIcon.ts","size":753,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createFileBlockWrapper.ts","size":1374,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/toExternalHTML/createFigureWithCaption.ts","size":307,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/toExternalHTML/createLinkWithCaption.ts","size":294,"chunks":["5d7fff5"]},{"name":"./src/blocks/Audio/parseAudioElement.ts","size":108,"chunks":["5d7fff5"]},{"name":"./src/blocks/Audio/block.ts","size":3593,"chunks":["5d7fff5"]},{"name":"./src/blocks/Code/shiki.ts","size":1699,"chunks":["5d7fff5"]},{"name":"./src/blocks/Code/block.ts","size":6654,"chunks":["5d7fff5"]},{"name":"./src/blocks/Divider/block.ts","size":757,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/parse/parseEmbedElement.ts","size":108,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/block.ts","size":1766,"chunks":["5d7fff5"]},{"name":"./src/blocks/ToggleWrapper/createToggleWrapper.ts","size":5246,"chunks":["5d7fff5"]},{"name":"./src/blocks/Heading/block.ts","size":2606,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createResizableFileBlockWrapper.ts","size":6266,"chunks":["5d7fff5"]},{"name":"./src/blocks/Image/parseImageElement.ts","size":224,"chunks":["5d7fff5"]},{"name":"./src/blocks/Image/block.ts","size":3777,"chunks":["5d7fff5"]},{"name":"./src/api/blockManipulation/commands/splitBlock/splitBlock.ts","size":945,"chunks":["5d7fff5"]},{"name":"./src/blocks/utils/listItemEnterHandler.ts","size":892,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/getListItemContent.ts","size":1425,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/BulletListItem/block.ts","size":2411,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/CheckListItem/block.ts","size":3898,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/NumberedListItem/IndexingPlugin.ts","size":3148,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/NumberedListItem/block.ts","size":2950,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/ToggleListItem/block.ts","size":1468,"chunks":["5d7fff5"]},{"name":"./src/blocks/Paragraph/block.ts","size":1347,"chunks":["5d7fff5"]},{"name":"./src/blocks/Quote/block.ts","size":1664,"chunks":["5d7fff5"]},{"name":"./src/blocks/Table/TableExtension.ts","size":2297,"chunks":["5d7fff5"]},{"name":"./src/blocks/Table/block.ts","size":9812,"chunks":["5d7fff5"]},{"name":"./src/blocks/Video/parseVideoElement.ts","size":175,"chunks":["5d7fff5"]},{"name":"./src/blocks/Video/block.ts","size":3577,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultBlockTypeGuards.ts","size":2005,"chunks":["5d7fff5"]},{"name":"./src/api/positionMapping.ts","size":1639,"chunks":["5d7fff5"]},{"name":"./src/extensions/SuggestionMenu/SuggestionMenu.ts","size":9455,"chunks":["5d7fff5"]},{"name":"./src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts","size":8304,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultBlocks.ts","size":2851,"chunks":["5d7fff5"]}]}
1
+ {"builtAt":1771832489155,"assets":[{"name":"blocks.cjs","size":3901},{"name":"extensions.cjs","size":2787},{"name":"yjs.cjs","size":882},{"name":"comments.cjs","size":16680},{"name":"locales.cjs","size":178480},{"name":"blocknote.cjs","size":75184},{"name":"EventEmitter-CLwfmbqG.cjs","size":614},{"name":"en-Cl87Uuyf.cjs","size":6760},{"name":"ShowSelection-BxnbRvy4.cjs","size":817},{"name":"BlockNoteExtension-BWw0r8Gy.cjs","size":497},{"name":"BlockNoteSchema-DT4bdXj5.cjs","size":5031},{"name":"blockToNode-CumVjgem.cjs","size":19433},{"name":"TrailingNode-tesI8f7N.cjs","size":46564},{"name":"defaultBlocks-D049Pbme.cjs","size":66698},{"name":"EventEmitter-CLwfmbqG.cjs.map","size":2377},{"name":"BlockNoteExtension-BWw0r8Gy.cjs.map","size":9745},{"name":"ShowSelection-BxnbRvy4.cjs.map","size":3151},{"name":"en-Cl87Uuyf.cjs.map","size":15254},{"name":"blockToNode-CumVjgem.cjs.map","size":122113},{"name":"BlockNoteSchema-DT4bdXj5.cjs.map","size":25059},{"name":"TrailingNode-tesI8f7N.cjs.map","size":220098},{"name":"defaultBlocks-D049Pbme.cjs.map","size":291788},{"name":"extensions.cjs.map","size":3397},{"name":"blocks.cjs.map","size":91},{"name":"comments.cjs.map","size":69921},{"name":"yjs.cjs.map","size":5601},{"name":"blocknote.cjs.map","size":346946},{"name":"locales.cjs.map","size":365903}],"chunks":[{"id":"c90dbef","entry":true,"initial":true,"files":["blocks.cjs"],"names":["blocks"]},{"id":"f16e717","entry":true,"initial":true,"files":["extensions.cjs"],"names":["extensions"]},{"id":"526cf7b","entry":true,"initial":true,"files":["yjs.cjs"],"names":["yjs"]},{"id":"1627b02","entry":true,"initial":true,"files":["comments.cjs"],"names":["comments"]},{"id":"9eaffe2","entry":true,"initial":true,"files":["locales.cjs"],"names":["locales"]},{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote.cjs"],"names":["blocknote"]},{"id":"c302b40","entry":false,"initial":true,"files":["EventEmitter-CLwfmbqG.cjs"],"names":["EventEmitter"]},{"id":"a1e239a","entry":false,"initial":true,"files":["en-Cl87Uuyf.cjs"],"names":["en"]},{"id":"da3865a","entry":false,"initial":true,"files":["ShowSelection-BxnbRvy4.cjs"],"names":["ShowSelection"]},{"id":"9db21a2","entry":false,"initial":true,"files":["BlockNoteExtension-BWw0r8Gy.cjs"],"names":["BlockNoteExtension"]},{"id":"7515671","entry":false,"initial":true,"files":["BlockNoteSchema-DT4bdXj5.cjs"],"names":["BlockNoteSchema"]},{"id":"cdc653a","entry":false,"initial":true,"files":["blockToNode-CumVjgem.cjs"],"names":["blockToNode"]},{"id":"0c166b6","entry":false,"initial":true,"files":["TrailingNode-tesI8f7N.cjs"],"names":["TrailingNode"]},{"id":"5d7fff5","entry":false,"initial":true,"files":["defaultBlocks-D049Pbme.cjs"],"names":["defaultBlocks"]}],"modules":[{"name":"./src/blocks/index.ts","size":0,"chunks":["c90dbef"]},{"name":"./src/extensions/SuggestionMenu/getDefaultEmojiPickerItems.ts","size":1294,"chunks":["f16e717"]},{"name":"./src/extensions/index.ts","size":0,"chunks":["f16e717"]},{"name":"./src/yjs/utils.ts","size":1121,"chunks":["526cf7b"]},{"name":"./src/yjs/index.ts","size":0,"chunks":["526cf7b"]},{"name":"./src/comments/mark.ts","size":1428,"chunks":["1627b02"]},{"name":"./src/comments/userstore/UserStore.ts","size":1367,"chunks":["1627b02"]},{"name":"./src/comments/extension.ts","size":8484,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/ThreadStoreAuth.ts","size":25,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/DefaultThreadStoreAuth.ts","size":2014,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/ThreadStore.ts","size":77,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/TipTapThreadStore.ts","size":5321,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/yjsHelpers.ts","size":3002,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/YjsThreadStoreBase.ts","size":849,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/RESTYjsThreadStore.ts","size":2069,"chunks":["1627b02"]},{"name":"./src/comments/threadstore/yjs/YjsThreadStore.ts","size":7267,"chunks":["1627b02"]},{"name":"./src/comments/index.ts","size":0,"chunks":["1627b02"]},{"name":"./src/i18n/locales/ar.ts","size":9531,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/de.ts","size":10742,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/es.ts","size":10261,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/fa.ts","size":9323,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/fr.ts","size":11221,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/he.ts","size":9268,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/hr.ts","size":10088,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/is.ts","size":10269,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/it.ts","size":10687,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ja.ts","size":9098,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ko.ts","size":8586,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/nl.ts","size":10215,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/no.ts","size":10394,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pl.ts","size":9911,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pt.ts","size":10066,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ru.ts","size":11236,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/sk.ts","size":9951,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/uk.ts","size":10896,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/vi.ts","size":9932,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/zh.ts","size":8562,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/zh-tw.ts","size":8602,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/uz.ts","size":10936,"chunks":["9eaffe2"]},{"name":"./src/i18n/index.ts","size":0,"chunks":["9eaffe2"]},{"name":"./src/schema/inlineContent/createSpec.ts","size":3798,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/insertBlocks/insertBlocks.ts","size":835,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/replaceBlocks/util/fixColumnList.ts","size":3571,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/replaceBlocks/replaceBlocks.ts","size":2248,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/util/serializeBlocksInternalHTML.ts","size":4945,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/internalHTMLSerializer.ts","size":3355,"chunks":["a1ee98a"]},{"name":"./src/style.css","size":0,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/moveBlocks/moveBlocks.ts","size":5694,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/nestBlock/nestBlock.ts","size":2059,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/getBlock/getBlock.ts","size":2047,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/BlockManager.ts","size":6463,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/EventManager.ts","size":2277,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/util/nestedLists.ts","size":2170,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/parseHTML.ts","size":435,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/parseMarkdown.ts","size":2176,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/ExportManager.ts","size":3749,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/acceptedMIMETypes.ts","size":134,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/handleFileInsertion.ts","size":4164,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/fileDropExtension.ts","size":884,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/detectMarkdown.ts","size":1140,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/handleVSCodePaste.ts","size":661,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/pasteExtension.ts","size":2412,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/toClipboard/copyExtension.ts","size":5222,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/BackgroundColor/BackgroundColorExtension.ts","size":306,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/HardBreak/HardBreak.ts","size":376,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/mergeBlocks/mergeBlocks.ts","size":2907,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts","size":16381,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/Suggestions/SuggestionMarks.ts","size":4452,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/TextAlignment/TextAlignmentExtension.ts","size":936,"chunks":["a1ee98a"]},{"name":"./src/extensions/tiptap-extensions/TextColor/TextColorExtension.ts","size":291,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockContainer.ts","size":2184,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockGroup.ts","size":1160,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/Doc.ts","size":134,"chunks":["a1ee98a"]},{"name":"./src/extensions/Collaboration/Collaboration.ts","size":407,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/ExtensionManager/extensions.ts","size":3946,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/ExtensionManager/index.ts","size":12149,"chunks":["a1ee98a"]},{"name":"./src/util/expandToWords.ts","size":915,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/selection.ts","size":5353,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/textCursorPosition.ts","size":2564,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/SelectionManager.ts","size":2657,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/StateManager.ts","size":6203,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/insertContentAt.ts","size":1049,"chunks":["a1ee98a"]},{"name":"./src/editor/managers/StyleManager.ts","size":4319,"chunks":["a1ee98a"]},{"name":"./src/editor/transformPasted.ts","size":3934,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteEditor.ts","size":27029,"chunks":["a1ee98a"]},{"name":"./src/exporter/Exporter.ts","size":1101,"chunks":["a1ee98a"]},{"name":"./src/exporter/mapping.ts","size":197,"chunks":["a1ee98a"]},{"name":"./src/util/combineByGroup.ts","size":550,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"name":"./src/util/EventEmitter.ts","size":744,"chunks":["c302b40"]},{"name":"./src/i18n/locales/en.ts","size":9591,"chunks":["a1e239a"]},{"name":"./src/extensions/ShowSelection/ShowSelection.ts","size":1633,"chunks":["da3865a"]},{"name":"./src/editor/managers/ExtensionManager/symbol.ts","size":56,"chunks":["9db21a2"]},{"name":"./src/editor/BlockNoteExtension.ts","size":617,"chunks":["9db21a2"]},{"name":"./src/util/topo-sort.ts","size":3045,"chunks":["7515671"]},{"name":"./src/schema/schema.ts","size":4026,"chunks":["7515671"]},{"name":"./src/blocks/PageBreak/block.ts","size":911,"chunks":["7515671"]},{"name":"./src/blocks/File/helpers/uploadToTmpFilesDotOrg_DEV_ONLY.ts","size":316,"chunks":["7515671"]},{"name":"./src/blocks/PageBreak/getPageBreakSlashMenuItems.ts","size":473,"chunks":["7515671"]},{"name":"./src/blocks/BlockNoteSchema.ts","size":372,"chunks":["7515671"]},{"name":"./src/extensions/tiptap-extensions/UniqueID/UniqueID.ts","size":8905,"chunks":["cdc653a"]},{"name":"./src/schema/inlineContent/types.ts","size":302,"chunks":["cdc653a"]},{"name":"./src/util/table.ts","size":1212,"chunks":["cdc653a"]},{"name":"./src/util/typescript.ts","size":331,"chunks":["cdc653a"]},{"name":"./src/api/getBlockInfoFromPos.ts","size":3797,"chunks":["cdc653a"]},{"name":"./src/api/pmUtil.ts","size":651,"chunks":["cdc653a"]},{"name":"./src/api/nodeConversions/nodeToBlock.ts","size":13078,"chunks":["cdc653a"]},{"name":"./src/api/blockManipulation/tables/tables.ts","size":10354,"chunks":["cdc653a"]},{"name":"./src/api/nodeConversions/blockToNode.ts","size":7193,"chunks":["cdc653a"]},{"name":"./src/api/exporters/html/util/serializeBlocksExternalHTML.ts","size":7812,"chunks":["0c166b6"]},{"name":"./src/api/exporters/html/externalHTMLExporter.ts","size":904,"chunks":["0c166b6"]},{"name":"./src/api/getBlocksChangedByTransaction.ts","size":6565,"chunks":["0c166b6"]},{"name":"./src/extensions/BlockChange/BlockChange.ts","size":1090,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/YCursorPlugin.ts","size":4875,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/YSync.ts","size":228,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/YUndo.ts","size":279,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/ForkYDoc.ts","size":3442,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/schemaMigration/migrationRules/moveColorAttributes.ts","size":1684,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/schemaMigration/migrationRules/index.ts","size":45,"chunks":["0c166b6"]},{"name":"./src/extensions/Collaboration/schemaMigration/SchemaMigration.ts","size":1343,"chunks":["0c166b6"]},{"name":"./src/extensions/DropCursor/DropCursor.ts","size":333,"chunks":["0c166b6"]},{"name":"./src/extensions/FormattingToolbar/FormattingToolbar.ts","size":2236,"chunks":["0c166b6"]},{"name":"./src/extensions/History/History.ts","size":213,"chunks":["0c166b6"]},{"name":"./src/extensions/LinkToolbar/LinkToolbar.ts","size":2883,"chunks":["0c166b6"]},{"name":"./src/extensions/LinkToolbar/protocols.ts","size":172,"chunks":["0c166b6"]},{"name":"./src/extensions/NodeSelectionKeyboard/NodeSelectionKeyboard.ts","size":1402,"chunks":["0c166b6"]},{"name":"./src/extensions/Placeholder/Placeholder.ts","size":4034,"chunks":["0c166b6"]},{"name":"./src/extensions/PreviousBlockType/PreviousBlockType.ts","size":4792,"chunks":["0c166b6"]},{"name":"./src/extensions/getDraggableBlockFromElement.ts","size":404,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/util/removeUnderlinesRehypePlugin.ts","size":752,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/util/addSpacesToCheckboxesRehypePlugin.ts","size":775,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/util/convertVideoToMarkdownRehypePlugin.ts","size":470,"chunks":["0c166b6"]},{"name":"./src/api/exporters/markdown/markdownExporter.ts","size":674,"chunks":["0c166b6"]},{"name":"./src/api/nodeConversions/fragmentToBlocks.ts","size":665,"chunks":["0c166b6"]},{"name":"./src/extensions/SideMenu/MultipleNodeSelection.ts","size":1700,"chunks":["0c166b6"]},{"name":"./src/extensions/SideMenu/dragging.ts","size":4742,"chunks":["0c166b6"]},{"name":"./src/extensions/SideMenu/SideMenu.ts","size":16972,"chunks":["0c166b6"]},{"name":"./src/extensions/TableHandles/TableHandles.ts","size":28013,"chunks":["0c166b6"]},{"name":"./src/extensions/TrailingNode/TrailingNode.ts","size":1589,"chunks":["0c166b6"]},{"name":"./src/util/browser.ts","size":643,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultBlockHelpers.ts","size":2115,"chunks":["5d7fff5"]},{"name":"./src/util/string.ts","size":656,"chunks":["5d7fff5"]},{"name":"./src/schema/blocks/internal.ts","size":3387,"chunks":["5d7fff5"]},{"name":"./src/schema/blocks/createSpec.ts","size":6873,"chunks":["5d7fff5"]},{"name":"./src/schema/inlineContent/internal.ts","size":1428,"chunks":["5d7fff5"]},{"name":"./src/schema/styles/internal.ts","size":2887,"chunks":["5d7fff5"]},{"name":"./src/schema/styles/createSpec.ts","size":2498,"chunks":["5d7fff5"]},{"name":"./src/api/nodeUtil.ts","size":549,"chunks":["5d7fff5"]},{"name":"./src/api/blockManipulation/commands/updateBlock/updateBlock.ts","size":8527,"chunks":["5d7fff5"]},{"name":"./src/editor/defaultColors.ts","size":1193,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultProps.ts","size":3350,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/parse/parseFigureElement.ts","size":342,"chunks":["5d7fff5"]},{"name":"./src/extensions/FilePanel/FilePanel.ts","size":822,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createAddFileButton.ts","size":1846,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createFileNameWithIcon.ts","size":753,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createFileBlockWrapper.ts","size":1374,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/toExternalHTML/createFigureWithCaption.ts","size":307,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/toExternalHTML/createLinkWithCaption.ts","size":294,"chunks":["5d7fff5"]},{"name":"./src/blocks/Audio/parseAudioElement.ts","size":108,"chunks":["5d7fff5"]},{"name":"./src/blocks/Audio/block.ts","size":3593,"chunks":["5d7fff5"]},{"name":"./src/blocks/Code/shiki.ts","size":1699,"chunks":["5d7fff5"]},{"name":"./src/blocks/Code/block.ts","size":6654,"chunks":["5d7fff5"]},{"name":"./src/blocks/Divider/block.ts","size":757,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/parse/parseEmbedElement.ts","size":108,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/block.ts","size":1766,"chunks":["5d7fff5"]},{"name":"./src/blocks/ToggleWrapper/createToggleWrapper.ts","size":5246,"chunks":["5d7fff5"]},{"name":"./src/blocks/Heading/block.ts","size":2606,"chunks":["5d7fff5"]},{"name":"./src/blocks/File/helpers/render/createResizableFileBlockWrapper.ts","size":6266,"chunks":["5d7fff5"]},{"name":"./src/blocks/Image/parseImageElement.ts","size":224,"chunks":["5d7fff5"]},{"name":"./src/blocks/Image/block.ts","size":3777,"chunks":["5d7fff5"]},{"name":"./src/api/blockManipulation/commands/splitBlock/splitBlock.ts","size":945,"chunks":["5d7fff5"]},{"name":"./src/blocks/utils/listItemEnterHandler.ts","size":892,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/getListItemContent.ts","size":1425,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/BulletListItem/block.ts","size":2411,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/CheckListItem/block.ts","size":4006,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/NumberedListItem/IndexingPlugin.ts","size":3148,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/NumberedListItem/block.ts","size":2950,"chunks":["5d7fff5"]},{"name":"./src/blocks/ListItem/ToggleListItem/block.ts","size":1468,"chunks":["5d7fff5"]},{"name":"./src/blocks/Paragraph/block.ts","size":1347,"chunks":["5d7fff5"]},{"name":"./src/blocks/Quote/block.ts","size":1664,"chunks":["5d7fff5"]},{"name":"./src/blocks/Table/TableExtension.ts","size":2297,"chunks":["5d7fff5"]},{"name":"./src/blocks/Table/block.ts","size":9812,"chunks":["5d7fff5"]},{"name":"./src/blocks/Video/parseVideoElement.ts","size":175,"chunks":["5d7fff5"]},{"name":"./src/blocks/Video/block.ts","size":3577,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultBlockTypeGuards.ts","size":2005,"chunks":["5d7fff5"]},{"name":"./src/api/positionMapping.ts","size":1639,"chunks":["5d7fff5"]},{"name":"./src/extensions/SuggestionMenu/SuggestionMenu.ts","size":9455,"chunks":["5d7fff5"]},{"name":"./src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts","size":8304,"chunks":["5d7fff5"]},{"name":"./src/blocks/defaultBlocks.ts","size":2851,"chunks":["5d7fff5"]}]}
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "directory": "packages/core"
12
12
  },
13
13
  "license": "MPL-2.0",
14
- "version": "0.46.2",
14
+ "version": "0.47.0",
15
15
  "files": [
16
16
  "dist",
17
17
  "types",
@@ -0,0 +1,61 @@
1
+ import { expect, it } from "vitest";
2
+ import { BlockNoteEditor } from "../../../editor/BlockNoteEditor.js";
3
+ import type { Block } from "../../defaultBlocks.js";
4
+
5
+ /**
6
+ * Tests for CheckListItem block behaviour, especially that the checkbox
7
+ * respects the editor's editable state (disabled when not editable,
8
+ * and change handler no-ops when not editable).
9
+ *
10
+ * @vitest-environment jsdom
11
+ */
12
+ function getCheckboxFromView(view: {
13
+ dom: HTMLElement | DocumentFragment;
14
+ }): HTMLInputElement {
15
+ const el = view.dom.querySelector('input[type="checkbox"]');
16
+ if (!(el instanceof HTMLInputElement)) {
17
+ throw new Error("Checkbox input not found in rendered output");
18
+ }
19
+ return el;
20
+ }
21
+
22
+ it("renders checkbox as enabled when editor is editable", () => {
23
+ const editor = BlockNoteEditor.create();
24
+ const block: Block = {
25
+ id: "1",
26
+ type: "checkListItem",
27
+ props: {
28
+ backgroundColor: "default",
29
+ textAlignment: "left",
30
+ textColor: "default",
31
+ checked: false,
32
+ },
33
+ content: [],
34
+ children: [],
35
+ };
36
+ const spec = editor.schema.blockSpecs.checkListItem;
37
+ const view = spec.implementation.render(block, editor);
38
+ const checkbox = getCheckboxFromView(view);
39
+ expect(checkbox.disabled).toBe(false);
40
+ });
41
+
42
+ it("renders checkbox as disabled when editor is not editable", () => {
43
+ const editor = BlockNoteEditor.create();
44
+ editor.isEditable = false;
45
+ const block: Block = {
46
+ id: "1",
47
+ type: "checkListItem",
48
+ props: {
49
+ backgroundColor: "default",
50
+ textAlignment: "left",
51
+ textColor: "default",
52
+ checked: false,
53
+ },
54
+ content: [],
55
+ children: [],
56
+ };
57
+ const spec = editor.schema.blockSpecs.checkListItem;
58
+ const view = spec.implementation.render(block, editor);
59
+ const checkbox = getCheckboxFromView(view);
60
+ expect(checkbox.disabled).toBe(true);
61
+ });
@@ -82,7 +82,11 @@ export const createCheckListItemBlockSpec = createBlockSpec(
82
82
  if (block.props.checked) {
83
83
  checkbox.setAttribute("checked", "");
84
84
  }
85
+ checkbox.disabled = !editor.isEditable;
85
86
  checkbox.addEventListener("change", () => {
87
+ if (!editor.isEditable) {
88
+ return;
89
+ }
86
90
  editor.updateBlock(block, { props: { checked: !block.props.checked } });
87
91
  });
88
92
  // We use a <p> tag, because for <li> tags we'd need a <ul> element to put
@@ -372,7 +372,7 @@ NESTED BLOCKS
372
372
  > .bn-block-outer[data-prev-type="bulletListItem"]
373
373
  > .bn-block
374
374
  > .bn-block-content::before {
375
- content: "";
375
+ content: "▪\FE0E";
376
376
  }
377
377
 
378
378
  [data-content-type="bulletListItem"]
@@ -390,7 +390,7 @@ NESTED BLOCKS
390
390
  > .bn-block
391
391
  > div[data-type="modification"]
392
392
  > .bn-block-content[data-content-type="bulletListItem"]::before {
393
- content: "";
393
+ content: "▪\FE0E";
394
394
  }
395
395
 
396
396
  /* CODE BLOCKS */
@@ -2,6 +2,54 @@ import { Fragment, Schema, Slice } from "@tiptap/pm/model";
2
2
  import { EditorView } from "@tiptap/pm/view";
3
3
 
4
4
  import { getBlockInfoFromSelection } from "../api/getBlockInfoFromPos.js";
5
+ import { findParentNodeClosestToPos } from "@tiptap/core";
6
+
7
+ /**
8
+ * Checks if the current selection is inside a table cell.
9
+ * Returns the depth of the tableCell/tableHeader node if found, -1 otherwise.
10
+ */
11
+ function isInTableCell(view: EditorView): boolean {
12
+ return (
13
+ findParentNodeClosestToPos(view.state.selection.$from, (n) => {
14
+ return n.type.name === "tableCell" || n.type.name === "tableHeader";
15
+ }) !== undefined
16
+ );
17
+ }
18
+
19
+ /**
20
+ * Converts block content to inline content with hard breaks.
21
+ * This is used when pasting into table cells which can only contain inline content.
22
+ */
23
+ function convertBlocksToInlineContent(
24
+ fragment: Fragment,
25
+ schema: Schema,
26
+ ): Fragment {
27
+ const hardBreak = schema.nodes.hardBreak;
28
+ let result = Fragment.empty;
29
+
30
+ fragment.forEach((node) => {
31
+ if (node.isTextblock && node.childCount > 0) {
32
+ // Extract inline content from paragraphs, headings, etc.
33
+ result = result.append(node.content);
34
+ result = result.addToEnd(hardBreak.create());
35
+ } else if (node.isText) {
36
+ result = result.addToEnd(node);
37
+ } else if (node.isBlock && node.childCount > 0) {
38
+ // Recurse into block containers, blockGroups, etc.
39
+ result = result.append(
40
+ convertBlocksToInlineContent(node.content, schema),
41
+ );
42
+ result = result.addToEnd(hardBreak.create());
43
+ }
44
+ });
45
+
46
+ // Remove trailing hard break
47
+ if (result.lastChild?.type === hardBreak) {
48
+ result = result.cut(0, result.size - 1);
49
+ }
50
+
51
+ return result;
52
+ }
5
53
 
6
54
  // helper function to remove a child from a fragment
7
55
  function removeChild(node: Fragment, n: number) {
@@ -65,6 +113,27 @@ export function transformPasted(slice: Slice, view: EditorView) {
65
113
  let f = Fragment.from(slice.content);
66
114
  f = wrapTableRows(f, view.state.schema);
67
115
 
116
+ if (isInTableCell(view)) {
117
+ let hasTableContent = false;
118
+ f.descendants((node) => {
119
+ if (node.type.isInGroup("tableContent")) {
120
+ hasTableContent = true;
121
+ }
122
+ });
123
+ if (
124
+ !hasTableContent &&
125
+ // is the content valid for a table paragraph?
126
+ !view.state.schema.nodes.tableParagraph.validContent(f)
127
+ ) {
128
+ // if not, convert the content to inline content
129
+ return new Slice(
130
+ convertBlocksToInlineContent(f, view.state.schema),
131
+ 0,
132
+ 0,
133
+ );
134
+ }
135
+ }
136
+
68
137
  if (!shouldApplyFix(f, view)) {
69
138
  // Don't apply the fix.
70
139
  return new Slice(f, slice.openStart, slice.openEnd);
@@ -380,6 +380,20 @@ export class SideMenuView<
380
380
  return;
381
381
  }
382
382
 
383
+ // Relevance gate: Only handle drags that belong to BlockNote
384
+ // This prevents interference with external drag-and-drop libraries
385
+ // by avoiding calls to closeDropCursor() for non-BlockNote drags
386
+ const isBlockNoteDrag =
387
+ this.pmView.dragging !== null ||
388
+ this.isDragOrigin ||
389
+ event.dataTransfer?.types.includes("blocknote/html") ||
390
+ (event.target instanceof Node && this.pmView.dom.contains(event.target));
391
+
392
+ if (!isBlockNoteDrag) {
393
+ // Not a BlockNote-related drag, return early without any processing
394
+ return;
395
+ }
396
+
383
397
  const dragEventContext = this.getDragEventContext(event);
384
398
 
385
399
  if (!dragEventContext || !dragEventContext.isDropPoint) {
@@ -419,6 +433,23 @@ export class SideMenuView<
419
433
  * - Whether the drop event is within the bounds of the current editor instance
420
434
  */
421
435
  getDragEventContext = (event: DragEvent) => {
436
+ // Relevance gate: Only handle drags that belong to BlockNote
437
+ // Check if at least one of the following is true:
438
+ // 1. ProseMirror drag started in an editor
439
+ // 2. Side menu drag
440
+ // 3. BlockNote-specific data type in the drag
441
+ // 4. (optional stricter mode) Event target is inside this editor
442
+ const isBlockNoteDrag =
443
+ this.pmView.dragging !== null ||
444
+ this.isDragOrigin ||
445
+ event.dataTransfer?.types.includes("blocknote/html") ||
446
+ (event.target instanceof Node && this.pmView.dom.contains(event.target));
447
+
448
+ if (!isBlockNoteDrag) {
449
+ // Not a BlockNote-related drag, return early
450
+ return undefined;
451
+ }
452
+
422
453
  // We need to check if there is text content that is being dragged (select some text & just drag it)
423
454
  const textContentIsBeingDragged =
424
455
  !event.dataTransfer?.types.includes("blocknote/html") &&
@@ -477,6 +508,19 @@ export class SideMenuView<
477
508
  return;
478
509
  }
479
510
 
511
+ // Relevance gate: Only handle drags that belong to BlockNote
512
+ // This prevents interference with external drag-and-drop libraries
513
+ const isBlockNoteDrag =
514
+ this.pmView.dragging !== null ||
515
+ this.isDragOrigin ||
516
+ event.dataTransfer?.types.includes("blocknote/html") ||
517
+ (event.target instanceof Node && this.pmView.dom.contains(event.target));
518
+
519
+ if (!isBlockNoteDrag) {
520
+ // Not a BlockNote-related drag, return early without any processing
521
+ return;
522
+ }
523
+
480
524
  const context = this.getDragEventContext(event);
481
525
  if (!context) {
482
526
  this.closeDropCursor();
@@ -184,6 +184,14 @@ export const KeyboardShortcutsExtension = Extension.create<{
184
184
 
185
185
  let chainedCommands = chain();
186
186
 
187
+ // Moves the children of the current block to the previous one.
188
+ if (blockInfo.childContainer) {
189
+ chainedCommands.insertContentAt(
190
+ blockInfo.bnBlock.afterPos,
191
+ blockInfo.childContainer?.node.content,
192
+ );
193
+ }
194
+
187
195
  if (
188
196
  prevBlockInfo.blockContent.node.type.spec.content ===
189
197
  "tableRow+"
@@ -209,8 +217,7 @@ export const KeyboardShortcutsExtension = Extension.create<{
209
217
  );
210
218
  } else {
211
219
  const blockContentStartPos =
212
- prevBlockInfo.blockContent.afterPos -
213
- prevBlockInfo.blockContent.node.nodeSize;
220
+ prevBlockInfo.blockContent.afterPos - 1;
214
221
 
215
222
  chainedCommands =
216
223
  chainedCommands.setTextSelection(blockContentStartPos);
@@ -413,7 +420,7 @@ export const KeyboardShortcutsExtension = Extension.create<{
413
420
  // Creates a new block and moves the selection to it if the current one is empty, while the selection is also
414
421
  // empty & at the start of the block.
415
422
  () =>
416
- commands.command(({ state, dispatch }) => {
423
+ commands.command(({ state, dispatch, tr }) => {
417
424
  const blockInfo = getBlockInfoFromSelection(state);
418
425
  if (!blockInfo.isBlockContainer) {
419
426
  return false;
@@ -431,15 +438,34 @@ export const KeyboardShortcutsExtension = Extension.create<{
431
438
  const newBlockContentPos = newBlockInsertionPos + 2;
432
439
 
433
440
  if (dispatch) {
434
- const newBlock =
435
- state.schema.nodes["blockContainer"].createAndFill()!;
436
-
437
- state.tr
438
- .insert(newBlockInsertionPos, newBlock)
441
+ // Creates a new block with the children of the current block,
442
+ // if it has any.
443
+ const newBlock = state.schema.nodes[
444
+ "blockContainer"
445
+ ].createAndFill(
446
+ undefined,
447
+ [
448
+ state.schema.nodes["paragraph"].createAndFill() ||
449
+ undefined,
450
+ blockInfo.childContainer?.node,
451
+ ].filter((node) => node !== undefined),
452
+ )!;
453
+
454
+ // Inserts the new block and moves the selection to it.
455
+ tr.insert(newBlockInsertionPos, newBlock)
456
+ .setSelection(
457
+ new TextSelection(tr.doc.resolve(newBlockContentPos)),
458
+ )
439
459
  .scrollIntoView();
440
- state.tr.setSelection(
441
- new TextSelection(state.doc.resolve(newBlockContentPos)),
442
- );
460
+
461
+ // Deletes old block's children, as they have been moved to
462
+ // the new one.
463
+ if (blockInfo.childContainer) {
464
+ tr.delete(
465
+ blockInfo.childContainer.beforePos,
466
+ blockInfo.childContainer.afterPos,
467
+ );
468
+ }
443
469
  }
444
470
 
445
471
  return true;