@blocknote/core 0.29.1 → 0.30.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.
- package/README.md +125 -0
- package/dist/blocknote.cjs +9 -9
- package/dist/blocknote.cjs.map +1 -1
- package/dist/blocknote.js +1479 -1339
- package/dist/blocknote.js.map +1 -1
- package/dist/locales.cjs +1 -1
- package/dist/locales.cjs.map +1 -1
- package/dist/locales.js +751 -9
- package/dist/locales.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +3 -6
- package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap +0 -7
- package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap +0 -5
- package/src/api/blockManipulation/commands/moveBlocks/__snapshots__/moveBlocks.test.ts.snap +0 -20
- package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap +0 -12
- package/src/api/blockManipulation/commands/splitBlock/__snapshots__/splitBlock.test.ts.snap +0 -6
- package/src/api/blockManipulation/commands/updateBlock/__snapshots__/updateBlock.test.ts.snap +0 -17
- package/src/api/clipboard/fromClipboard/pasteExtension.ts +19 -1
- package/src/blocks/AudioBlockContent/AudioBlockContent.ts +5 -0
- package/src/blocks/CodeBlockContent/CodeBlockContent.ts +32 -18
- package/src/blocks/FileBlockContent/FileBlockContent.ts +5 -0
- package/src/blocks/FileBlockContent/helpers/render/createResizableFileBlockWrapper.ts +9 -2
- package/src/blocks/HeadingBlockContent/HeadingBlockContent.ts +3 -0
- package/src/blocks/ImageBlockContent/ImageBlockContent.ts +10 -2
- package/src/blocks/ListItemBlockContent/BulletListItemBlockContent/BulletListItemBlockContent.ts +9 -25
- package/src/blocks/ListItemBlockContent/CheckListItemBlockContent/CheckListItemBlockContent.ts +14 -3
- package/src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListItemBlockContent.ts +9 -26
- package/src/blocks/ListItemBlockContent/getListItemContent.ts +115 -0
- package/src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts +6 -2
- package/src/blocks/QuoteBlockContent/QuoteBlockContent.ts +6 -1
- package/src/blocks/TableBlockContent/TableBlockContent.ts +71 -14
- package/src/blocks/VideoBlockContent/VideoBlockContent.ts +10 -2
- package/src/blocks/defaultBlockHelpers.ts +16 -0
- package/src/editor/Block.css +2 -1
- package/src/editor/BlockNoteEditor.ts +103 -60
- package/src/editor/BlockNoteExtensions.ts +14 -5
- package/src/extensions/Collaboration/CursorPlugin.ts +152 -0
- package/src/extensions/Collaboration/SyncPlugin.ts +15 -0
- package/src/extensions/Collaboration/UndoPlugin.ts +14 -0
- package/src/extensions/FilePanel/FilePanelPlugin.ts +31 -22
- package/src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts +2 -4
- package/src/extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts +3 -0
- package/src/i18n/locales/index.ts +2 -0
- package/src/i18n/locales/ru.ts +2 -2
- package/src/i18n/locales/sk.ts +355 -0
- package/src/i18n/locales/zh-tw.ts +390 -0
- package/src/pm-nodes/BlockContainer.ts +7 -6
- package/src/schema/blocks/createSpec.ts +1 -1
- package/src/schema/blocks/internal.ts +0 -1
- package/src/schema/blocks/types.ts +2 -1
- package/types/src/api/blockManipulation/setupTestEnv.d.ts +8 -4
- package/types/src/blocks/ImageBlockContent/ImageBlockContent.d.ts +8 -4
- package/types/src/blocks/ListItemBlockContent/getListItemContent.d.ts +28 -0
- package/types/src/blocks/VideoBlockContent/VideoBlockContent.d.ts +8 -4
- package/types/src/blocks/defaultBlockHelpers.d.ts +1 -0
- package/types/src/blocks/defaultBlocks.d.ts +16 -8
- package/types/src/editor/BlockNoteEditor.d.ts +18 -1
- package/types/src/extensions/Collaboration/CursorPlugin.d.ts +31 -0
- package/types/src/extensions/Collaboration/SyncPlugin.d.ts +7 -0
- package/types/src/extensions/Collaboration/UndoPlugin.d.ts +6 -0
- package/types/src/extensions/FilePanel/FilePanelPlugin.d.ts +1 -1
- package/types/src/i18n/locales/index.d.ts +2 -0
- package/types/src/i18n/locales/sk.d.ts +313 -0
- package/types/src/i18n/locales/zh-tw.d.ts +2 -0
- package/types/src/schema/blocks/types.d.ts +2 -1
- package/src/extensions/Collaboration/createCollaborationExtensions.ts +0 -147
- package/types/src/extensions/Collaboration/createCollaborationExtensions.d.ts +0 -17
package/dist/webpack-stats.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"builtAt":1744906274468,"assets":[{"name":"blocknote.cjs","size":177873},{"name":"comments.cjs","size":11826},{"name":"locales.cjs","size":111460},{"name":"en-D4taoCs4.cjs","size":5539},{"name":"en-D4taoCs4.cjs.map","size":12801},{"name":"comments.cjs.map","size":47589},{"name":"locales.cjs.map","size":233670},{"name":"blocknote.cjs.map","size":854022}],"chunks":[{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote.cjs"],"names":["blocknote"]},{"id":"1627b02","entry":true,"initial":true,"files":["comments.cjs"],"names":["comments"]},{"id":"9eaffe2","entry":true,"initial":true,"files":["locales.cjs"],"names":["locales"]},{"id":"a1e239a","entry":false,"initial":true,"files":["en-D4taoCs4.cjs"],"names":["en"]}],"modules":[{"name":"./src/util/typescript.ts","size":331,"chunks":["a1ee98a"]},{"name":"./src/api/getBlockInfoFromPos.ts","size":3792,"chunks":["a1ee98a"]},{"name":"./src/extensions/UniqueID/UniqueID.ts","size":9054,"chunks":["a1ee98a"]},{"name":"./src/schema/inlineContent/types.ts","size":302,"chunks":["a1ee98a"]},{"name":"./src/util/table.ts","size":1212,"chunks":["a1ee98a"]},{"name":"./src/util/browser.ts","size":536,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultBlockHelpers.ts","size":1728,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultProps.ts","size":269,"chunks":["a1ee98a"]},{"name":"./src/util/string.ts","size":299,"chunks":["a1ee98a"]},{"name":"./src/schema/blocks/internal.ts","size":4130,"chunks":["a1ee98a"]},{"name":"./src/schema/blocks/createSpec.ts","size":3609,"chunks":["a1ee98a"]},{"name":"./src/api/pmUtil.ts","size":651,"chunks":["a1ee98a"]},{"name":"./src/api/nodeConversions/nodeToBlock.ts","size":9637,"chunks":["a1ee98a"]},{"name":"./src/schema/inlineContent/internal.ts","size":1398,"chunks":["a1ee98a"]},{"name":"./src/schema/inlineContent/createSpec.ts","size":2644,"chunks":["a1ee98a"]},{"name":"./src/schema/styles/internal.ts","size":1162,"chunks":["a1ee98a"]},{"name":"./src/schema/styles/createSpec.ts","size":1263,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/tables/tables.ts","size":10346,"chunks":["a1ee98a"]},{"name":"./src/api/nodeConversions/blockToNode.ts","size":7095,"chunks":["a1ee98a"]},{"name":"./src/api/nodeUtil.ts","size":3150,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/updateBlock/updateBlock.ts","size":4066,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/util/serializeBlocksExternalHTML.ts","size":5025,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/externalHTMLExporter.ts","size":886,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/util/serializeBlocksInternalHTML.ts","size":3099,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/internalHTMLSerializer.ts","size":288,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/parse/parseFigureElement.ts","size":342,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createAddFileButton.ts","size":1706,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createFileNameWithIcon.ts","size":753,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createFileBlockWrapper.ts","size":1428,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/toExternalHTML/createFigureWithCaption.ts","size":307,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/toExternalHTML/createLinkWithCaption.ts","size":294,"chunks":["a1ee98a"]},{"name":"./src/blocks/AudioBlockContent/parseAudioElement.ts","size":108,"chunks":["a1ee98a"]},{"name":"./src/blocks/AudioBlockContent/AudioBlockContent.ts","size":3155,"chunks":["a1ee98a"]},{"name":"./src/blocks/CodeBlockContent/CodeBlockContent.ts","size":9013,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/parse/parseEmbedElement.ts","size":108,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/FileBlockContent.ts","size":1460,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createResizableFileBlockWrapper.ts","size":4637,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/uploadToTmpFilesDotOrg_DEV_ONLY.ts","size":316,"chunks":["a1ee98a"]},{"name":"./src/blocks/ImageBlockContent/parseImageElement.ts","size":175,"chunks":["a1ee98a"]},{"name":"./src/blocks/ImageBlockContent/ImageBlockContent.ts","size":3243,"chunks":["a1ee98a"]},{"name":"./src/blocks/PageBreakBlockContent/PageBreakBlockContent.ts","size":854,"chunks":["a1ee98a"]},{"name":"./src/extensions/BackgroundColor/BackgroundColorMark.ts","size":946,"chunks":["a1ee98a"]},{"name":"./src/extensions/TextColor/TextColorMark.ts","size":866,"chunks":["a1ee98a"]},{"name":"./src/blocks/HeadingBlockContent/HeadingBlockContent.ts","size":3260,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/splitBlock/splitBlock.ts","size":868,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/ListItemKeyboardShortcuts.ts","size":1443,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/BulletListItemBlockContent/BulletListItemBlockContent.ts","size":3311,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/CheckListItemBlockContent/CheckListItemBlockContent.ts","size":6866,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListIndexingPlugin.ts","size":2207,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListItemBlockContent.ts","size":4319,"chunks":["a1ee98a"]},{"name":"./src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts","size":1413,"chunks":["a1ee98a"]},{"name":"./src/blocks/QuoteBlockContent/QuoteBlockContent.ts","size":1823,"chunks":["a1ee98a"]},{"name":"./src/blocks/TableBlockContent/TableExtension.ts","size":2297,"chunks":["a1ee98a"]},{"name":"./src/blocks/TableBlockContent/TableBlockContent.ts","size":4708,"chunks":["a1ee98a"]},{"name":"./src/blocks/VideoBlockContent/parseVideoElement.ts","size":175,"chunks":["a1ee98a"]},{"name":"./src/blocks/VideoBlockContent/VideoBlockContent.ts","size":3162,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultBlocks.ts","size":1163,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultBlockTypeGuards.ts","size":1688,"chunks":["a1ee98a"]},{"name":"./src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts","size":6996,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteSchema.ts","size":1044,"chunks":["a1ee98a"]},{"name":"./src/blocks/PageBreakBlockContent/schema.ts","size":350,"chunks":["a1ee98a"]},{"name":"./src/blocks/PageBreakBlockContent/getPageBreakSlashMenuItems.ts","size":536,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/insertBlocks/insertBlocks.ts","size":785,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/moveBlocks/moveBlocks.ts","size":5642,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/nestBlock/nestBlock.ts","size":2284,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/replaceBlocks/replaceBlocks.ts","size":1876,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/getBlock/getBlock.ts","size":1895,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/insertContentAt.ts","size":1049,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/selection.ts","size":4290,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/textCursorPosition/textCursorPosition.ts","size":2430,"chunks":["a1ee98a"]},{"name":"./src/util/esmDependencies.ts","size":820,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/markdown/removeUnderlinesRehypePlugin.ts","size":752,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/markdown/util/addSpacesToCheckboxesRehypePlugin.ts","size":969,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/markdown/markdownExporter.ts","size":837,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/util/nestedLists.ts","size":2174,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/parseHTML.ts","size":429,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/parseMarkdown.ts","size":1129,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/acceptedMIMETypes.ts","size":134,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/handleFileInsertion.ts","size":3928,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/fileDropExtension.ts","size":884,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/handleVSCodePaste.ts","size":661,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/detectMarkdown.ts","size":1112,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/pasteExtension.ts","size":2109,"chunks":["a1ee98a"]},{"name":"./src/api/nodeConversions/fragmentToBlocks.ts","size":629,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/toClipboard/copyExtension.ts","size":5159,"chunks":["a1ee98a"]},{"name":"./src/extensions/BackgroundColor/BackgroundColorExtension.ts","size":819,"chunks":["a1ee98a"]},{"name":"./src/extensions/Collaboration/createCollaborationExtensions.ts","size":3553,"chunks":["a1ee98a"]},{"name":"./src/extensions/Comments/CommentMark.ts","size":1428,"chunks":["a1ee98a"]},{"name":"./src/util/EventEmitter.ts","size":744,"chunks":["a1ee98a"]},{"name":"./src/extensions/Comments/userstore/UserStore.ts","size":1354,"chunks":["a1ee98a"]},{"name":"./src/extensions/Comments/CommentsPlugin.ts","size":7583,"chunks":["a1ee98a"]},{"name":"./src/extensions/FilePanel/FilePanelPlugin.ts","size":3584,"chunks":["a1ee98a"]},{"name":"./src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts","size":5323,"chunks":["a1ee98a"]},{"name":"./src/extensions/HardBreak/HardBreak.ts","size":376,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/mergeBlocks/mergeBlocks.ts","size":3228,"chunks":["a1ee98a"]},{"name":"./src/extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts","size":17927,"chunks":["a1ee98a"]},{"name":"./src/extensions/LinkToolbar/LinkToolbarPlugin.ts","size":7597,"chunks":["a1ee98a"]},{"name":"./src/extensions/LinkToolbar/protocols.ts","size":172,"chunks":["a1ee98a"]},{"name":"./src/extensions/NodeSelectionKeyboard/NodeSelectionKeyboardPlugin.ts","size":1195,"chunks":["a1ee98a"]},{"name":"./src/extensions/Placeholder/PlaceholderPlugin.ts","size":3609,"chunks":["a1ee98a"]},{"name":"./src/extensions/PreviousBlockType/PreviousBlockTypePlugin.ts","size":4826,"chunks":["a1ee98a"]},{"name":"./src/extensions/ShowSelection/ShowSelectionPlugin.ts","size":911,"chunks":["a1ee98a"]},{"name":"./src/extensions/getDraggableBlockFromElement.ts","size":404,"chunks":["a1ee98a"]},{"name":"./src/extensions/SideMenu/MultipleNodeSelection.ts","size":1700,"chunks":["a1ee98a"]},{"name":"./src/extensions/SideMenu/dragging.ts","size":4718,"chunks":["a1ee98a"]},{"name":"./src/extensions/SideMenu/SideMenuPlugin.ts","size":14087,"chunks":["a1ee98a"]},{"name":"./src/api/positionMapping.ts","size":1652,"chunks":["a1ee98a"]},{"name":"./src/extensions/SuggestionMenu/SuggestionPlugin.ts","size":8776,"chunks":["a1ee98a"]},{"name":"./src/extensions/TableHandles/TableHandlesPlugin.ts","size":27045,"chunks":["a1ee98a"]},{"name":"./src/extensions/TextAlignment/TextAlignmentExtension.ts","size":976,"chunks":["a1ee98a"]},{"name":"./src/extensions/TextColor/TextColorExtension.ts","size":753,"chunks":["a1ee98a"]},{"name":"./src/extensions/TrailingNode/TrailingNodeExtension.ts","size":1563,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockContainer.ts","size":2038,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockGroup.ts","size":1102,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/Doc.ts","size":90,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteExtensions.ts","size":4928,"chunks":["a1ee98a"]},{"name":"./src/editor/transformPasted.ts","size":2604,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteTipTapEditor.ts","size":5245,"chunks":["a1ee98a"]},{"name":"./src/style.css","size":0,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteEditor.ts","size":34300,"chunks":["a1ee98a"]},{"name":"./src/editor/defaultColors.ts","size":1193,"chunks":["a1ee98a"]},{"name":"./src/exporter/Exporter.ts","size":1075,"chunks":["a1ee98a"]},{"name":"./src/exporter/mapping.ts","size":197,"chunks":["a1ee98a"]},{"name":"./src/extensions/SuggestionMenu/getDefaultEmojiPickerItems.ts","size":1204,"chunks":["a1ee98a"]},{"name":"./src/util/combineByGroup.ts","size":550,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"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":790,"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":7904,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/de.ts","size":8624,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/es.ts","size":8483,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/fr.ts","size":9256,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/hr.ts","size":8518,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/is.ts","size":8246,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/it.ts","size":8582,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ja.ts","size":7506,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ko.ts","size":7283,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/nl.ts","size":8481,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/no.ts","size":8357,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pl.ts","size":8172,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pt.ts","size":8419,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ru.ts","size":9103,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/uk.ts","size":9034,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/vi.ts","size":8281,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/zh.ts","size":7200,"chunks":["9eaffe2"]},{"name":"./src/i18n/index.ts","size":0,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/en.ts","size":8004,"chunks":["a1e239a"]}]}
|
|
1
|
+
{"builtAt":1746802429660,"assets":[{"name":"blocknote.cjs","size":181304},{"name":"comments.cjs","size":11826},{"name":"locales.cjs","size":123402},{"name":"en-D4taoCs4.cjs","size":5539},{"name":"en-D4taoCs4.cjs.map","size":12801},{"name":"comments.cjs.map","size":47589},{"name":"locales.cjs.map","size":260168},{"name":"blocknote.cjs.map","size":871512}],"chunks":[{"id":"a1ee98a","entry":true,"initial":true,"files":["blocknote.cjs"],"names":["blocknote"]},{"id":"1627b02","entry":true,"initial":true,"files":["comments.cjs"],"names":["comments"]},{"id":"9eaffe2","entry":true,"initial":true,"files":["locales.cjs"],"names":["locales"]},{"id":"a1e239a","entry":false,"initial":true,"files":["en-D4taoCs4.cjs"],"names":["en"]}],"modules":[{"name":"./src/util/typescript.ts","size":331,"chunks":["a1ee98a"]},{"name":"./src/api/getBlockInfoFromPos.ts","size":3792,"chunks":["a1ee98a"]},{"name":"./src/extensions/UniqueID/UniqueID.ts","size":9054,"chunks":["a1ee98a"]},{"name":"./src/schema/inlineContent/types.ts","size":302,"chunks":["a1ee98a"]},{"name":"./src/util/table.ts","size":1212,"chunks":["a1ee98a"]},{"name":"./src/util/browser.ts","size":536,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultBlockHelpers.ts","size":2080,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultProps.ts","size":269,"chunks":["a1ee98a"]},{"name":"./src/util/string.ts","size":299,"chunks":["a1ee98a"]},{"name":"./src/schema/blocks/internal.ts","size":4072,"chunks":["a1ee98a"]},{"name":"./src/schema/blocks/createSpec.ts","size":3612,"chunks":["a1ee98a"]},{"name":"./src/api/pmUtil.ts","size":651,"chunks":["a1ee98a"]},{"name":"./src/api/nodeConversions/nodeToBlock.ts","size":9637,"chunks":["a1ee98a"]},{"name":"./src/schema/inlineContent/internal.ts","size":1398,"chunks":["a1ee98a"]},{"name":"./src/schema/inlineContent/createSpec.ts","size":2644,"chunks":["a1ee98a"]},{"name":"./src/schema/styles/internal.ts","size":1162,"chunks":["a1ee98a"]},{"name":"./src/schema/styles/createSpec.ts","size":1263,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/tables/tables.ts","size":10346,"chunks":["a1ee98a"]},{"name":"./src/api/nodeConversions/blockToNode.ts","size":7095,"chunks":["a1ee98a"]},{"name":"./src/api/nodeUtil.ts","size":3150,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/updateBlock/updateBlock.ts","size":4066,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/util/serializeBlocksExternalHTML.ts","size":5025,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/externalHTMLExporter.ts","size":886,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/util/serializeBlocksInternalHTML.ts","size":3099,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/html/internalHTMLSerializer.ts","size":288,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/parse/parseFigureElement.ts","size":342,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createAddFileButton.ts","size":1706,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createFileNameWithIcon.ts","size":753,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createFileBlockWrapper.ts","size":1428,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/toExternalHTML/createFigureWithCaption.ts","size":307,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/toExternalHTML/createLinkWithCaption.ts","size":294,"chunks":["a1ee98a"]},{"name":"./src/blocks/AudioBlockContent/parseAudioElement.ts","size":108,"chunks":["a1ee98a"]},{"name":"./src/blocks/AudioBlockContent/AudioBlockContent.ts","size":3219,"chunks":["a1ee98a"]},{"name":"./src/blocks/CodeBlockContent/CodeBlockContent.ts","size":9214,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/parse/parseEmbedElement.ts","size":108,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/FileBlockContent.ts","size":1524,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/helpers/render/createResizableFileBlockWrapper.ts","size":4836,"chunks":["a1ee98a"]},{"name":"./src/blocks/FileBlockContent/uploadToTmpFilesDotOrg_DEV_ONLY.ts","size":316,"chunks":["a1ee98a"]},{"name":"./src/blocks/ImageBlockContent/parseImageElement.ts","size":175,"chunks":["a1ee98a"]},{"name":"./src/blocks/ImageBlockContent/ImageBlockContent.ts","size":3374,"chunks":["a1ee98a"]},{"name":"./src/blocks/PageBreakBlockContent/PageBreakBlockContent.ts","size":854,"chunks":["a1ee98a"]},{"name":"./src/extensions/BackgroundColor/BackgroundColorMark.ts","size":946,"chunks":["a1ee98a"]},{"name":"./src/extensions/TextColor/TextColorMark.ts","size":866,"chunks":["a1ee98a"]},{"name":"./src/blocks/HeadingBlockContent/HeadingBlockContent.ts","size":3376,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/getListItemContent.ts","size":1425,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/splitBlock/splitBlock.ts","size":868,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/ListItemKeyboardShortcuts.ts","size":1443,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/BulletListItemBlockContent/BulletListItemBlockContent.ts","size":3121,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/CheckListItemBlockContent/CheckListItemBlockContent.ts","size":7286,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListIndexingPlugin.ts","size":2207,"chunks":["a1ee98a"]},{"name":"./src/blocks/ListItemBlockContent/NumberedListItemBlockContent/NumberedListItemBlockContent.ts","size":4057,"chunks":["a1ee98a"]},{"name":"./src/blocks/ParagraphBlockContent/ParagraphBlockContent.ts","size":1520,"chunks":["a1ee98a"]},{"name":"./src/blocks/QuoteBlockContent/QuoteBlockContent.ts","size":1953,"chunks":["a1ee98a"]},{"name":"./src/blocks/TableBlockContent/TableExtension.ts","size":2297,"chunks":["a1ee98a"]},{"name":"./src/blocks/TableBlockContent/TableBlockContent.ts","size":5724,"chunks":["a1ee98a"]},{"name":"./src/blocks/VideoBlockContent/parseVideoElement.ts","size":175,"chunks":["a1ee98a"]},{"name":"./src/blocks/VideoBlockContent/VideoBlockContent.ts","size":3293,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultBlocks.ts","size":1163,"chunks":["a1ee98a"]},{"name":"./src/blocks/defaultBlockTypeGuards.ts","size":1688,"chunks":["a1ee98a"]},{"name":"./src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts","size":6996,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteSchema.ts","size":1044,"chunks":["a1ee98a"]},{"name":"./src/blocks/PageBreakBlockContent/schema.ts","size":350,"chunks":["a1ee98a"]},{"name":"./src/blocks/PageBreakBlockContent/getPageBreakSlashMenuItems.ts","size":536,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/insertBlocks/insertBlocks.ts","size":785,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/moveBlocks/moveBlocks.ts","size":5642,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/nestBlock/nestBlock.ts","size":2284,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/replaceBlocks/replaceBlocks.ts","size":1876,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/getBlock/getBlock.ts","size":1895,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/insertContentAt.ts","size":1049,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/selection.ts","size":4290,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/selections/textCursorPosition/textCursorPosition.ts","size":2430,"chunks":["a1ee98a"]},{"name":"./src/util/esmDependencies.ts","size":820,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/markdown/removeUnderlinesRehypePlugin.ts","size":752,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/markdown/util/addSpacesToCheckboxesRehypePlugin.ts","size":969,"chunks":["a1ee98a"]},{"name":"./src/api/exporters/markdown/markdownExporter.ts","size":837,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/util/nestedLists.ts","size":2174,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/html/parseHTML.ts","size":429,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/parseMarkdown.ts","size":1129,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/acceptedMIMETypes.ts","size":134,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/handleFileInsertion.ts","size":3928,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/fromClipboard/fileDropExtension.ts","size":884,"chunks":["a1ee98a"]},{"name":"./src/api/parsers/markdown/detectMarkdown.ts","size":1112,"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/nodeConversions/fragmentToBlocks.ts","size":629,"chunks":["a1ee98a"]},{"name":"./src/api/clipboard/toClipboard/copyExtension.ts","size":5159,"chunks":["a1ee98a"]},{"name":"./src/extensions/BackgroundColor/BackgroundColorExtension.ts","size":819,"chunks":["a1ee98a"]},{"name":"./src/extensions/Collaboration/CursorPlugin.ts","size":3675,"chunks":["a1ee98a"]},{"name":"./src/extensions/Collaboration/UndoPlugin.ts","size":137,"chunks":["a1ee98a"]},{"name":"./src/extensions/Collaboration/SyncPlugin.ts","size":154,"chunks":["a1ee98a"]},{"name":"./src/extensions/Comments/CommentMark.ts","size":1428,"chunks":["a1ee98a"]},{"name":"./src/util/EventEmitter.ts","size":744,"chunks":["a1ee98a"]},{"name":"./src/extensions/Comments/userstore/UserStore.ts","size":1354,"chunks":["a1ee98a"]},{"name":"./src/extensions/Comments/CommentsPlugin.ts","size":7583,"chunks":["a1ee98a"]},{"name":"./src/extensions/FilePanel/FilePanelPlugin.ts","size":3991,"chunks":["a1ee98a"]},{"name":"./src/extensions/FormattingToolbar/FormattingToolbarPlugin.ts","size":5288,"chunks":["a1ee98a"]},{"name":"./src/extensions/HardBreak/HardBreak.ts","size":376,"chunks":["a1ee98a"]},{"name":"./src/api/blockManipulation/commands/mergeBlocks/mergeBlocks.ts","size":3228,"chunks":["a1ee98a"]},{"name":"./src/extensions/KeyboardShortcuts/KeyboardShortcutsExtension.ts","size":18080,"chunks":["a1ee98a"]},{"name":"./src/extensions/LinkToolbar/LinkToolbarPlugin.ts","size":7597,"chunks":["a1ee98a"]},{"name":"./src/extensions/LinkToolbar/protocols.ts","size":172,"chunks":["a1ee98a"]},{"name":"./src/extensions/NodeSelectionKeyboard/NodeSelectionKeyboardPlugin.ts","size":1195,"chunks":["a1ee98a"]},{"name":"./src/extensions/Placeholder/PlaceholderPlugin.ts","size":3609,"chunks":["a1ee98a"]},{"name":"./src/extensions/PreviousBlockType/PreviousBlockTypePlugin.ts","size":4826,"chunks":["a1ee98a"]},{"name":"./src/extensions/ShowSelection/ShowSelectionPlugin.ts","size":911,"chunks":["a1ee98a"]},{"name":"./src/extensions/getDraggableBlockFromElement.ts","size":404,"chunks":["a1ee98a"]},{"name":"./src/extensions/SideMenu/MultipleNodeSelection.ts","size":1700,"chunks":["a1ee98a"]},{"name":"./src/extensions/SideMenu/dragging.ts","size":4718,"chunks":["a1ee98a"]},{"name":"./src/extensions/SideMenu/SideMenuPlugin.ts","size":14087,"chunks":["a1ee98a"]},{"name":"./src/api/positionMapping.ts","size":1652,"chunks":["a1ee98a"]},{"name":"./src/extensions/SuggestionMenu/SuggestionPlugin.ts","size":8776,"chunks":["a1ee98a"]},{"name":"./src/extensions/TableHandles/TableHandlesPlugin.ts","size":27045,"chunks":["a1ee98a"]},{"name":"./src/extensions/TextAlignment/TextAlignmentExtension.ts","size":976,"chunks":["a1ee98a"]},{"name":"./src/extensions/TextColor/TextColorExtension.ts","size":753,"chunks":["a1ee98a"]},{"name":"./src/extensions/TrailingNode/TrailingNodeExtension.ts","size":1563,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockContainer.ts","size":2126,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/BlockGroup.ts","size":1102,"chunks":["a1ee98a"]},{"name":"./src/pm-nodes/Doc.ts","size":90,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteExtensions.ts","size":5105,"chunks":["a1ee98a"]},{"name":"./src/editor/transformPasted.ts","size":2604,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteTipTapEditor.ts","size":5245,"chunks":["a1ee98a"]},{"name":"./src/style.css","size":0,"chunks":["a1ee98a"]},{"name":"./src/editor/BlockNoteEditor.ts","size":35450,"chunks":["a1ee98a"]},{"name":"./src/editor/defaultColors.ts","size":1193,"chunks":["a1ee98a"]},{"name":"./src/exporter/Exporter.ts","size":1075,"chunks":["a1ee98a"]},{"name":"./src/exporter/mapping.ts","size":197,"chunks":["a1ee98a"]},{"name":"./src/extensions/SuggestionMenu/getDefaultEmojiPickerItems.ts","size":1204,"chunks":["a1ee98a"]},{"name":"./src/util/combineByGroup.ts","size":550,"chunks":["a1ee98a"]},{"name":"./src/index.ts","size":0,"chunks":["a1ee98a"]},{"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":790,"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":7904,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/de.ts","size":8624,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/es.ts","size":8483,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/fr.ts","size":9256,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/hr.ts","size":8518,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/is.ts","size":8246,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/it.ts","size":8582,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ja.ts","size":7506,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ko.ts","size":7283,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/nl.ts","size":8481,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/no.ts","size":8357,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pl.ts","size":8172,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/pt.ts","size":8419,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/ru.ts","size":9103,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/sk.ts","size":8317,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/uk.ts","size":9034,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/vi.ts","size":8281,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/zh.ts","size":7200,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/zh-tw.ts","size":7225,"chunks":["9eaffe2"]},{"name":"./src/i18n/index.ts","size":0,"chunks":["9eaffe2"]},{"name":"./src/i18n/locales/en.ts","size":8004,"chunks":["a1e239a"]}]}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"directory": "packages/core"
|
|
12
12
|
},
|
|
13
13
|
"license": "MPL-2.0",
|
|
14
|
-
"version": "0.
|
|
14
|
+
"version": "0.30.0",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
17
|
"types",
|
|
@@ -67,8 +67,6 @@
|
|
|
67
67
|
"@tiptap/core": "^2.11.5",
|
|
68
68
|
"@tiptap/extension-bold": "^2.11.5",
|
|
69
69
|
"@tiptap/extension-code": "^2.11.5",
|
|
70
|
-
"@tiptap/extension-collaboration": "^2.11.5",
|
|
71
|
-
"@tiptap/extension-collaboration-cursor": "^2.11.5",
|
|
72
70
|
"@tiptap/extension-gapcursor": "^2.11.5",
|
|
73
71
|
"@tiptap/extension-history": "^2.11.5",
|
|
74
72
|
"@tiptap/extension-horizontal-rule": "^2.11.5",
|
|
@@ -86,7 +84,7 @@
|
|
|
86
84
|
"hast-util-from-dom": "^5.0.1",
|
|
87
85
|
"prosemirror-dropcursor": "^1.8.1",
|
|
88
86
|
"prosemirror-highlight": "^0.13.0",
|
|
89
|
-
"prosemirror-model": "^1.
|
|
87
|
+
"prosemirror-model": "^1.25.1",
|
|
90
88
|
"prosemirror-state": "^1.4.3",
|
|
91
89
|
"prosemirror-tables": "^1.6.4",
|
|
92
90
|
"prosemirror-transform": "^1.10.2",
|
|
@@ -101,7 +99,7 @@
|
|
|
101
99
|
"remark-stringify": "^11.0.0",
|
|
102
100
|
"unified": "^11.0.5",
|
|
103
101
|
"uuid": "^8.3.2",
|
|
104
|
-
"y-prosemirror": "^1.3.
|
|
102
|
+
"y-prosemirror": "^1.3.4",
|
|
105
103
|
"y-protocols": "^1.0.6",
|
|
106
104
|
"yjs": "^13.6.15"
|
|
107
105
|
},
|
|
@@ -111,7 +109,6 @@
|
|
|
111
109
|
"@types/uuid": "^8.3.4",
|
|
112
110
|
"eslint": "^8.10.0",
|
|
113
111
|
"jsdom": "^25.0.1",
|
|
114
|
-
"prettier": "^2.7.1",
|
|
115
112
|
"rimraf": "^5.0.5",
|
|
116
113
|
"rollup-plugin-webpack-stats": "^0.2.2",
|
|
117
114
|
"typescript": "^5.3.3",
|
package/src/api/blockManipulation/commands/insertBlocks/__snapshots__/insertBlocks.test.ts.snap
CHANGED
|
@@ -338,7 +338,6 @@ exports[`Test insertBlocks > Insert multiple blocks after 2`] = `
|
|
|
338
338
|
"backgroundColor": "default",
|
|
339
339
|
"caption": "",
|
|
340
340
|
"name": "",
|
|
341
|
-
"previewWidth": 512,
|
|
342
341
|
"showPreview": true,
|
|
343
342
|
"textAlignment": "left",
|
|
344
343
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1012,7 +1011,6 @@ exports[`Test insertBlocks > Insert multiple blocks before 2`] = `
|
|
|
1012
1011
|
"backgroundColor": "default",
|
|
1013
1012
|
"caption": "",
|
|
1014
1013
|
"name": "",
|
|
1015
|
-
"previewWidth": 512,
|
|
1016
1014
|
"showPreview": true,
|
|
1017
1015
|
"textAlignment": "left",
|
|
1018
1016
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1606,7 +1604,6 @@ exports[`Test insertBlocks > Insert single basic block after 2`] = `
|
|
|
1606
1604
|
"backgroundColor": "default",
|
|
1607
1605
|
"caption": "",
|
|
1608
1606
|
"name": "",
|
|
1609
|
-
"previewWidth": 512,
|
|
1610
1607
|
"showPreview": true,
|
|
1611
1608
|
"textAlignment": "left",
|
|
1612
1609
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2212,7 +2209,6 @@ exports[`Test insertBlocks > Insert single basic block before (without type) 2`]
|
|
|
2212
2209
|
"backgroundColor": "default",
|
|
2213
2210
|
"caption": "",
|
|
2214
2211
|
"name": "",
|
|
2215
|
-
"previewWidth": 512,
|
|
2216
2212
|
"showPreview": true,
|
|
2217
2213
|
"textAlignment": "left",
|
|
2218
2214
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2806,7 +2802,6 @@ exports[`Test insertBlocks > Insert single basic block before 2`] = `
|
|
|
2806
2802
|
"backgroundColor": "default",
|
|
2807
2803
|
"caption": "",
|
|
2808
2804
|
"name": "",
|
|
2809
|
-
"previewWidth": 512,
|
|
2810
2805
|
"showPreview": true,
|
|
2811
2806
|
"textAlignment": "left",
|
|
2812
2807
|
"url": "https://via.placeholder.com/150",
|
|
@@ -3514,7 +3509,6 @@ exports[`Test insertBlocks > Insert single complex block after 2`] = `
|
|
|
3514
3509
|
"backgroundColor": "default",
|
|
3515
3510
|
"caption": "",
|
|
3516
3511
|
"name": "",
|
|
3517
|
-
"previewWidth": 512,
|
|
3518
3512
|
"showPreview": true,
|
|
3519
3513
|
"textAlignment": "left",
|
|
3520
3514
|
"url": "https://via.placeholder.com/150",
|
|
@@ -4222,7 +4216,6 @@ exports[`Test insertBlocks > Insert single complex block before 2`] = `
|
|
|
4222
4216
|
"backgroundColor": "default",
|
|
4223
4217
|
"caption": "",
|
|
4224
4218
|
"name": "",
|
|
4225
|
-
"previewWidth": 512,
|
|
4226
4219
|
"showPreview": true,
|
|
4227
4220
|
"textAlignment": "left",
|
|
4228
4221
|
"url": "https://via.placeholder.com/150",
|
package/src/api/blockManipulation/commands/mergeBlocks/__snapshots__/mergeBlocks.test.ts.snap
CHANGED
|
@@ -214,7 +214,6 @@ exports[`Test mergeBlocks > Basic 1`] = `
|
|
|
214
214
|
"backgroundColor": "default",
|
|
215
215
|
"caption": "",
|
|
216
216
|
"name": "",
|
|
217
|
-
"previewWidth": 512,
|
|
218
217
|
"showPreview": true,
|
|
219
218
|
"textAlignment": "left",
|
|
220
219
|
"url": "https://via.placeholder.com/150",
|
|
@@ -764,7 +763,6 @@ exports[`Test mergeBlocks > Blocks have different types 1`] = `
|
|
|
764
763
|
"backgroundColor": "default",
|
|
765
764
|
"caption": "",
|
|
766
765
|
"name": "",
|
|
767
|
-
"previewWidth": 512,
|
|
768
766
|
"showPreview": true,
|
|
769
767
|
"textAlignment": "left",
|
|
770
768
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1314,7 +1312,6 @@ exports[`Test mergeBlocks > First block has children 1`] = `
|
|
|
1314
1312
|
"backgroundColor": "default",
|
|
1315
1313
|
"caption": "",
|
|
1316
1314
|
"name": "",
|
|
1317
|
-
"previewWidth": 512,
|
|
1318
1315
|
"showPreview": true,
|
|
1319
1316
|
"textAlignment": "left",
|
|
1320
1317
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1863,7 +1860,6 @@ exports[`Test mergeBlocks > Second block has children 1`] = `
|
|
|
1863
1860
|
"backgroundColor": "default",
|
|
1864
1861
|
"caption": "",
|
|
1865
1862
|
"name": "",
|
|
1866
|
-
"previewWidth": 512,
|
|
1867
1863
|
"showPreview": true,
|
|
1868
1864
|
"textAlignment": "left",
|
|
1869
1865
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2430,7 +2426,6 @@ exports[`Test mergeBlocks > Second block is empty 1`] = `
|
|
|
2430
2426
|
"backgroundColor": "default",
|
|
2431
2427
|
"caption": "",
|
|
2432
2428
|
"name": "",
|
|
2433
|
-
"previewWidth": 512,
|
|
2434
2429
|
"showPreview": true,
|
|
2435
2430
|
"textAlignment": "left",
|
|
2436
2431
|
"url": "https://via.placeholder.com/150",
|
|
@@ -231,7 +231,6 @@ exports[`Test moveBlocksDown > Basic 1`] = `
|
|
|
231
231
|
"backgroundColor": "default",
|
|
232
232
|
"caption": "",
|
|
233
233
|
"name": "",
|
|
234
|
-
"previewWidth": 512,
|
|
235
234
|
"showPreview": true,
|
|
236
235
|
"textAlignment": "left",
|
|
237
236
|
"url": "https://via.placeholder.com/150",
|
|
@@ -798,7 +797,6 @@ exports[`Test moveBlocksDown > Into children 1`] = `
|
|
|
798
797
|
"backgroundColor": "default",
|
|
799
798
|
"caption": "",
|
|
800
799
|
"name": "",
|
|
801
|
-
"previewWidth": 512,
|
|
802
800
|
"showPreview": true,
|
|
803
801
|
"textAlignment": "left",
|
|
804
802
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1365,7 +1363,6 @@ exports[`Test moveBlocksDown > Last block 1`] = `
|
|
|
1365
1363
|
"backgroundColor": "default",
|
|
1366
1364
|
"caption": "",
|
|
1367
1365
|
"name": "",
|
|
1368
|
-
"previewWidth": 512,
|
|
1369
1366
|
"showPreview": true,
|
|
1370
1367
|
"textAlignment": "left",
|
|
1371
1368
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1932,7 +1929,6 @@ exports[`Test moveBlocksDown > Multiple blocks 1`] = `
|
|
|
1932
1929
|
"backgroundColor": "default",
|
|
1933
1930
|
"caption": "",
|
|
1934
1931
|
"name": "",
|
|
1935
|
-
"previewWidth": 512,
|
|
1936
1932
|
"showPreview": true,
|
|
1937
1933
|
"textAlignment": "left",
|
|
1938
1934
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2499,7 +2495,6 @@ exports[`Test moveBlocksDown > Multiple blocks ending in block with children 1`]
|
|
|
2499
2495
|
"backgroundColor": "default",
|
|
2500
2496
|
"caption": "",
|
|
2501
2497
|
"name": "",
|
|
2502
|
-
"previewWidth": 512,
|
|
2503
2498
|
"showPreview": true,
|
|
2504
2499
|
"textAlignment": "left",
|
|
2505
2500
|
"url": "https://via.placeholder.com/150",
|
|
@@ -3066,7 +3061,6 @@ exports[`Test moveBlocksDown > Multiple blocks ending in nested block 1`] = `
|
|
|
3066
3061
|
"backgroundColor": "default",
|
|
3067
3062
|
"caption": "",
|
|
3068
3063
|
"name": "",
|
|
3069
|
-
"previewWidth": 512,
|
|
3070
3064
|
"showPreview": true,
|
|
3071
3065
|
"textAlignment": "left",
|
|
3072
3066
|
"url": "https://via.placeholder.com/150",
|
|
@@ -3643,7 +3637,6 @@ exports[`Test moveBlocksDown > Multiple blocks starting and ending in nested blo
|
|
|
3643
3637
|
"backgroundColor": "default",
|
|
3644
3638
|
"caption": "",
|
|
3645
3639
|
"name": "",
|
|
3646
|
-
"previewWidth": 512,
|
|
3647
3640
|
"showPreview": true,
|
|
3648
3641
|
"textAlignment": "left",
|
|
3649
3642
|
"url": "https://via.placeholder.com/150",
|
|
@@ -4210,7 +4203,6 @@ exports[`Test moveBlocksDown > Multiple blocks starting in block with children 1
|
|
|
4210
4203
|
"backgroundColor": "default",
|
|
4211
4204
|
"caption": "",
|
|
4212
4205
|
"name": "",
|
|
4213
|
-
"previewWidth": 512,
|
|
4214
4206
|
"showPreview": true,
|
|
4215
4207
|
"textAlignment": "left",
|
|
4216
4208
|
"url": "https://via.placeholder.com/150",
|
|
@@ -4776,7 +4768,6 @@ exports[`Test moveBlocksDown > Multiple blocks starting in nested block 1`] = `
|
|
|
4776
4768
|
"backgroundColor": "default",
|
|
4777
4769
|
"caption": "",
|
|
4778
4770
|
"name": "",
|
|
4779
|
-
"previewWidth": 512,
|
|
4780
4771
|
"showPreview": true,
|
|
4781
4772
|
"textAlignment": "left",
|
|
4782
4773
|
"url": "https://via.placeholder.com/150",
|
|
@@ -5343,7 +5334,6 @@ exports[`Test moveBlocksDown > Out of children 1`] = `
|
|
|
5343
5334
|
"backgroundColor": "default",
|
|
5344
5335
|
"caption": "",
|
|
5345
5336
|
"name": "",
|
|
5346
|
-
"previewWidth": 512,
|
|
5347
5337
|
"showPreview": true,
|
|
5348
5338
|
"textAlignment": "left",
|
|
5349
5339
|
"url": "https://via.placeholder.com/150",
|
|
@@ -5909,7 +5899,6 @@ exports[`Test moveBlocksUp > Basic 1`] = `
|
|
|
5909
5899
|
"backgroundColor": "default",
|
|
5910
5900
|
"caption": "",
|
|
5911
5901
|
"name": "",
|
|
5912
|
-
"previewWidth": 512,
|
|
5913
5902
|
"showPreview": true,
|
|
5914
5903
|
"textAlignment": "left",
|
|
5915
5904
|
"url": "https://via.placeholder.com/150",
|
|
@@ -6476,7 +6465,6 @@ exports[`Test moveBlocksUp > First block 1`] = `
|
|
|
6476
6465
|
"backgroundColor": "default",
|
|
6477
6466
|
"caption": "",
|
|
6478
6467
|
"name": "",
|
|
6479
|
-
"previewWidth": 512,
|
|
6480
6468
|
"showPreview": true,
|
|
6481
6469
|
"textAlignment": "left",
|
|
6482
6470
|
"url": "https://via.placeholder.com/150",
|
|
@@ -7043,7 +7031,6 @@ exports[`Test moveBlocksUp > Into children 1`] = `
|
|
|
7043
7031
|
"backgroundColor": "default",
|
|
7044
7032
|
"caption": "",
|
|
7045
7033
|
"name": "",
|
|
7046
|
-
"previewWidth": 512,
|
|
7047
7034
|
"showPreview": true,
|
|
7048
7035
|
"textAlignment": "left",
|
|
7049
7036
|
"url": "https://via.placeholder.com/150",
|
|
@@ -7610,7 +7597,6 @@ exports[`Test moveBlocksUp > Multiple blocks 1`] = `
|
|
|
7610
7597
|
"backgroundColor": "default",
|
|
7611
7598
|
"caption": "",
|
|
7612
7599
|
"name": "",
|
|
7613
|
-
"previewWidth": 512,
|
|
7614
7600
|
"showPreview": true,
|
|
7615
7601
|
"textAlignment": "left",
|
|
7616
7602
|
"url": "https://via.placeholder.com/150",
|
|
@@ -8177,7 +8163,6 @@ exports[`Test moveBlocksUp > Multiple blocks ending in block with children 1`] =
|
|
|
8177
8163
|
"backgroundColor": "default",
|
|
8178
8164
|
"caption": "",
|
|
8179
8165
|
"name": "",
|
|
8180
|
-
"previewWidth": 512,
|
|
8181
8166
|
"showPreview": true,
|
|
8182
8167
|
"textAlignment": "left",
|
|
8183
8168
|
"url": "https://via.placeholder.com/150",
|
|
@@ -8744,7 +8729,6 @@ exports[`Test moveBlocksUp > Multiple blocks ending in nested block 1`] = `
|
|
|
8744
8729
|
"backgroundColor": "default",
|
|
8745
8730
|
"caption": "",
|
|
8746
8731
|
"name": "",
|
|
8747
|
-
"previewWidth": 512,
|
|
8748
8732
|
"showPreview": true,
|
|
8749
8733
|
"textAlignment": "left",
|
|
8750
8734
|
"url": "https://via.placeholder.com/150",
|
|
@@ -9293,7 +9277,6 @@ exports[`Test moveBlocksUp > Multiple blocks starting and ending in nested block
|
|
|
9293
9277
|
"backgroundColor": "default",
|
|
9294
9278
|
"caption": "",
|
|
9295
9279
|
"name": "",
|
|
9296
|
-
"previewWidth": 512,
|
|
9297
9280
|
"showPreview": true,
|
|
9298
9281
|
"textAlignment": "left",
|
|
9299
9282
|
"url": "https://via.placeholder.com/150",
|
|
@@ -9877,7 +9860,6 @@ exports[`Test moveBlocksUp > Multiple blocks starting in block with children 1`]
|
|
|
9877
9860
|
"backgroundColor": "default",
|
|
9878
9861
|
"caption": "",
|
|
9879
9862
|
"name": "",
|
|
9880
|
-
"previewWidth": 512,
|
|
9881
9863
|
"showPreview": true,
|
|
9882
9864
|
"textAlignment": "left",
|
|
9883
9865
|
"url": "https://via.placeholder.com/150",
|
|
@@ -10443,7 +10425,6 @@ exports[`Test moveBlocksUp > Multiple blocks starting in nested block 1`] = `
|
|
|
10443
10425
|
"backgroundColor": "default",
|
|
10444
10426
|
"caption": "",
|
|
10445
10427
|
"name": "",
|
|
10446
|
-
"previewWidth": 512,
|
|
10447
10428
|
"showPreview": true,
|
|
10448
10429
|
"textAlignment": "left",
|
|
10449
10430
|
"url": "https://via.placeholder.com/150",
|
|
@@ -11010,7 +10991,6 @@ exports[`Test moveBlocksUp > Out of children 1`] = `
|
|
|
11010
10991
|
"backgroundColor": "default",
|
|
11011
10992
|
"caption": "",
|
|
11012
10993
|
"name": "",
|
|
11013
|
-
"previewWidth": 512,
|
|
11014
10994
|
"showPreview": true,
|
|
11015
10995
|
"textAlignment": "left",
|
|
11016
10996
|
"url": "https://via.placeholder.com/150",
|
package/src/api/blockManipulation/commands/replaceBlocks/__snapshots__/replaceBlocks.test.ts.snap
CHANGED
|
@@ -144,7 +144,6 @@ exports[`Test replaceBlocks > Remove multiple consecutive blocks 1`] = `
|
|
|
144
144
|
"backgroundColor": "default",
|
|
145
145
|
"caption": "",
|
|
146
146
|
"name": "",
|
|
147
|
-
"previewWidth": 512,
|
|
148
147
|
"showPreview": true,
|
|
149
148
|
"textAlignment": "left",
|
|
150
149
|
"url": "https://via.placeholder.com/150",
|
|
@@ -694,7 +693,6 @@ exports[`Test replaceBlocks > Remove multiple non-consecutive blocks 1`] = `
|
|
|
694
693
|
"backgroundColor": "default",
|
|
695
694
|
"caption": "",
|
|
696
695
|
"name": "",
|
|
697
|
-
"previewWidth": 512,
|
|
698
696
|
"showPreview": true,
|
|
699
697
|
"textAlignment": "left",
|
|
700
698
|
"url": "https://via.placeholder.com/150",
|
|
@@ -991,7 +989,6 @@ exports[`Test replaceBlocks > Remove single block 1`] = `
|
|
|
991
989
|
"backgroundColor": "default",
|
|
992
990
|
"caption": "",
|
|
993
991
|
"name": "",
|
|
994
|
-
"previewWidth": 512,
|
|
995
992
|
"showPreview": true,
|
|
996
993
|
"textAlignment": "left",
|
|
997
994
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1522,7 +1519,6 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with multiple
|
|
|
1522
1519
|
"backgroundColor": "default",
|
|
1523
1520
|
"caption": "",
|
|
1524
1521
|
"name": "",
|
|
1525
|
-
"previewWidth": 512,
|
|
1526
1522
|
"showPreview": true,
|
|
1527
1523
|
"textAlignment": "left",
|
|
1528
1524
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2013,7 +2009,6 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single ba
|
|
|
2013
2009
|
"backgroundColor": "default",
|
|
2014
2010
|
"caption": "",
|
|
2015
2011
|
"name": "",
|
|
2016
|
-
"previewWidth": 512,
|
|
2017
2012
|
"showPreview": true,
|
|
2018
2013
|
"textAlignment": "left",
|
|
2019
2014
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2561,7 +2556,6 @@ exports[`Test replaceBlocks > Replace multiple consecutive blocks with single co
|
|
|
2561
2556
|
"backgroundColor": "default",
|
|
2562
2557
|
"caption": "",
|
|
2563
2558
|
"name": "",
|
|
2564
|
-
"previewWidth": 512,
|
|
2565
2559
|
"showPreview": true,
|
|
2566
2560
|
"textAlignment": "left",
|
|
2567
2561
|
"url": "https://via.placeholder.com/150",
|
|
@@ -3162,7 +3156,6 @@ exports[`Test replaceBlocks > Replace multiple non-consecutive blocks with multi
|
|
|
3162
3156
|
"backgroundColor": "default",
|
|
3163
3157
|
"caption": "",
|
|
3164
3158
|
"name": "",
|
|
3165
|
-
"previewWidth": 512,
|
|
3166
3159
|
"showPreview": true,
|
|
3167
3160
|
"textAlignment": "left",
|
|
3168
3161
|
"url": "https://via.placeholder.com/150",
|
|
@@ -3470,7 +3463,6 @@ exports[`Test replaceBlocks > Replace multiple non-consecutive blocks with singl
|
|
|
3470
3463
|
"backgroundColor": "default",
|
|
3471
3464
|
"caption": "",
|
|
3472
3465
|
"name": "",
|
|
3473
|
-
"previewWidth": 512,
|
|
3474
3466
|
"showPreview": true,
|
|
3475
3467
|
"textAlignment": "left",
|
|
3476
3468
|
"url": "https://via.placeholder.com/150",
|
|
@@ -3835,7 +3827,6 @@ exports[`Test replaceBlocks > Replace multiple non-consecutive blocks with singl
|
|
|
3835
3827
|
"backgroundColor": "default",
|
|
3836
3828
|
"caption": "",
|
|
3837
3829
|
"name": "",
|
|
3838
|
-
"previewWidth": 512,
|
|
3839
3830
|
"showPreview": true,
|
|
3840
3831
|
"textAlignment": "left",
|
|
3841
3832
|
"url": "https://via.placeholder.com/150",
|
|
@@ -4183,7 +4174,6 @@ exports[`Test replaceBlocks > Replace single block with multiple 1`] = `
|
|
|
4183
4174
|
"backgroundColor": "default",
|
|
4184
4175
|
"caption": "",
|
|
4185
4176
|
"name": "",
|
|
4186
|
-
"previewWidth": 512,
|
|
4187
4177
|
"showPreview": true,
|
|
4188
4178
|
"textAlignment": "left",
|
|
4189
4179
|
"url": "https://via.placeholder.com/150",
|
|
@@ -4744,7 +4734,6 @@ exports[`Test replaceBlocks > Replace single block with single basic 1`] = `
|
|
|
4744
4734
|
"backgroundColor": "default",
|
|
4745
4735
|
"caption": "",
|
|
4746
4736
|
"name": "",
|
|
4747
|
-
"previewWidth": 512,
|
|
4748
4737
|
"showPreview": true,
|
|
4749
4738
|
"textAlignment": "left",
|
|
4750
4739
|
"url": "https://via.placeholder.com/150",
|
|
@@ -5362,7 +5351,6 @@ exports[`Test replaceBlocks > Replace single block with single complex 1`] = `
|
|
|
5362
5351
|
"backgroundColor": "default",
|
|
5363
5352
|
"caption": "",
|
|
5364
5353
|
"name": "",
|
|
5365
|
-
"previewWidth": 512,
|
|
5366
5354
|
"showPreview": true,
|
|
5367
5355
|
"textAlignment": "left",
|
|
5368
5356
|
"url": "https://via.placeholder.com/150",
|
|
@@ -248,7 +248,6 @@ exports[`Test splitBlocks > Basic 1`] = `
|
|
|
248
248
|
"backgroundColor": "default",
|
|
249
249
|
"caption": "",
|
|
250
250
|
"name": "",
|
|
251
|
-
"previewWidth": 512,
|
|
252
251
|
"showPreview": true,
|
|
253
252
|
"textAlignment": "left",
|
|
254
253
|
"url": "https://via.placeholder.com/150",
|
|
@@ -832,7 +831,6 @@ exports[`Test splitBlocks > Block has children 1`] = `
|
|
|
832
831
|
"backgroundColor": "default",
|
|
833
832
|
"caption": "",
|
|
834
833
|
"name": "",
|
|
835
|
-
"previewWidth": 512,
|
|
836
834
|
"showPreview": true,
|
|
837
835
|
"textAlignment": "left",
|
|
838
836
|
"url": "https://via.placeholder.com/150",
|
|
@@ -1416,7 +1414,6 @@ exports[`Test splitBlocks > Don't keep props 1`] = `
|
|
|
1416
1414
|
"backgroundColor": "default",
|
|
1417
1415
|
"caption": "",
|
|
1418
1416
|
"name": "",
|
|
1419
|
-
"previewWidth": 512,
|
|
1420
1417
|
"showPreview": true,
|
|
1421
1418
|
"textAlignment": "left",
|
|
1422
1419
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2000,7 +1997,6 @@ exports[`Test splitBlocks > Don't keep type 1`] = `
|
|
|
2000
1997
|
"backgroundColor": "default",
|
|
2001
1998
|
"caption": "",
|
|
2002
1999
|
"name": "",
|
|
2003
|
-
"previewWidth": 512,
|
|
2004
2000
|
"showPreview": true,
|
|
2005
2001
|
"textAlignment": "left",
|
|
2006
2002
|
"url": "https://via.placeholder.com/150",
|
|
@@ -2578,7 +2574,6 @@ exports[`Test splitBlocks > End of content 1`] = `
|
|
|
2578
2574
|
"backgroundColor": "default",
|
|
2579
2575
|
"caption": "",
|
|
2580
2576
|
"name": "",
|
|
2581
|
-
"previewWidth": 512,
|
|
2582
2577
|
"showPreview": true,
|
|
2583
2578
|
"textAlignment": "left",
|
|
2584
2579
|
"url": "https://via.placeholder.com/150",
|
|
@@ -3163,7 +3158,6 @@ exports[`Test splitBlocks > Keep type 1`] = `
|
|
|
3163
3158
|
"backgroundColor": "default",
|
|
3164
3159
|
"caption": "",
|
|
3165
3160
|
"name": "",
|
|
3166
|
-
"previewWidth": 512,
|
|
3167
3161
|
"showPreview": true,
|
|
3168
3162
|
"textAlignment": "left",
|
|
3169
3163
|
"url": "https://via.placeholder.com/150",
|