Skip to content

ReferenceError: document is not defined #1624

Closed
@fiderosado

Description

@fiderosado

I have been receiving constant console errors referring to this particular error:

 ⨯ ReferenceError: document is not defined
    at eval (file://D%3A/GitHub/test_blocknote/components/editor/businessBlockNoteEditor.js:69:31)
    at BusinessBlockNoteEditor (file://D%3A/GitHub/test_blocknote/components/editor/businessBlockNoteEditor.js:65:27)
  67 |             return undefined;
  68 |         }
> 69 |         return BlockNoteEditor.create({
     |                               ^
  70 |             initialContent,
  71 |             uploadFile,
  72 |             codeBlock, {
  digest: '1549453249'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions