Skip to content

Error: element with ID «editorjs-container» is missing. Pass correct holder's ID with Next JS SSR #26

@StarAzure

Description

@StarAzure

I am using dynamic import in nextjs to overcome the window not found error. I then get the error

Error: element with ID «editorjs-container» is missing. Pass correct holder's ID.

const Editor = dynamic(
  () => import('@stfy/react-editor.js'),
  { ssr: false }
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions