We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9291122 commit 1e5a6a4Copy full SHA for 1e5a6a4
src/blocknote/index.ts
@@ -37,7 +37,6 @@ export function useBlockNoteSync(
37
// Convert the prosemirror document to BlockNote blocks.
38
// inspired by https://github.com/TypeCellOS/BlockNote/blob/main/packages/server-util/src/context/ServerBlockNoteEditor.ts#L42
39
const pmNode = editor.pmSchema.nodeFromJSON(sync.initialContent);
40
- console.log(pmNode);
41
if (pmNode.firstChild) {
42
pmNode.firstChild.descendants((node) => {
43
blocks.push(
0 commit comments