Closed
Description
I just try to create an instance of editor and
i got an error on using this
something related to some undefined array the code want to filter
Here is how i call use the library in my code
"use server"
import { google } from '@ai-sdk/google';
import { generateObject } from 'ai';
import { z } from 'zod';
import { supabase } from '@/lib/supabase';
import { ServerBlockNoteEditor } from "@blocknote/server-util";
import { defaultBlockSpecs } from '@blocknote/core';
const model = google('models/gemini-1.5-flash-latest');
// const editor = ServerBlockNoteEditor.create(defaultBlockSpecs );
Metadata
Assignees
Labels
No labels