Skip to content

Feedback for “Server-side processing” #1350

Closed
@falachabt

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

image

"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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions