refactor: remove content-container support #8858
Annotations
3 errors
|
Run unit tests
Process completed with exit code 1.
|
|
Run unit tests:
packages/core/src/schema/blocks/createSpec.ts#L328
ReferenceError: DocumentFragment is not defined
❯ containerRootDOM ../core/src/schema/blocks/createSpec.ts:328:29
❯ serializeBlock ../core/src/api/exporters/html/util/serializeBlocksExternalHTML.ts:250:23
❯ serializeBlocksToFragment ../core/src/api/exporters/html/util/serializeBlocksExternalHTML.ts:418:5
❯ serializeBlocksExternalHTML ../core/src/api/exporters/html/util/serializeBlocksExternalHTML.ts:446:3
❯ Object.exportBlocks ../core/src/api/exporters/html/externalHTMLExporter.ts:46:20
❯ blocksToMarkdown ../core/src/api/exporters/markdown/markdownExporter.ts:38:33
❯ src/context/ServerBlockNoteEditor.ts:252:14
❯ ServerBlockNoteEditor._withJSDOM src/context/ServerBlockNoteEditor.ts:72:20
❯ ServerBlockNoteEditor.blocksToMarkdownLossy src/context/ServerBlockNoteEditor.ts:251:17
❯ src/context/ServerBlockNoteEditor.test.ts:120:29
|
|
Run unit tests:
packages/core/src/schema/blocks/createSpec.ts#L328
ReferenceError: DocumentFragment is not defined
❯ containerRootDOM ../core/src/schema/blocks/createSpec.ts:328:29
❯ serializeBlock ../core/src/api/exporters/html/util/serializeBlocksExternalHTML.ts:250:23
❯ serializeBlocksToFragment ../core/src/api/exporters/html/util/serializeBlocksExternalHTML.ts:418:5
❯ serializeBlocksExternalHTML ../core/src/api/exporters/html/util/serializeBlocksExternalHTML.ts:446:3
❯ Object.exportBlocks ../core/src/api/exporters/html/externalHTMLExporter.ts:46:20
❯ src/context/ServerBlockNoteEditor.ts:195:23
❯ ServerBlockNoteEditor._withJSDOM src/context/ServerBlockNoteEditor.ts:72:20
❯ ServerBlockNoteEditor.blocksToHTMLLossy src/context/ServerBlockNoteEditor.ts:189:17
❯ src/context/ServerBlockNoteEditor.test.ts:107:31
|
background
wait
wait-all
cancel
parallel
Loading