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 91e19d5 commit c41c262Copy full SHA for c41c262
example/convex/example.ts
@@ -34,8 +34,9 @@ export const {
34
let schema: Schema;
35
// A hack for our demo which uses both BlockNote and Tiptap.
36
if (id.endsWith("-blocknote")) {
37
- // Parse the snapshot from BlockNote.
38
- const editor = BlockNoteEditor.create({ _headless: true });
+ // Parse the snapshot from BlockNote in the Convex runtime.
+ // ServerBlockNoteEditor only works in "use node" in the Convex runtime.
39
+ const editor = BlockNoteEditor.create();
40
schema = editor.pmSchema;
41
} else {
42
// Fetching the content from Tiptap, using your extensions.
0 commit comments