Skip to content

RangeError: Invalid array passed to renderSpec #2751

@kishanbhagat-e2m

Description

@kishanbhagat-e2m

What’s broken?

ERROR
Invalid array passed to renderSpec
RangeError: Invalid array passed to renderSpec
at renderSpec (http://localhost:3000/static/js/bundle.js:883270:41)
at DOMSerializer.renderSpec (http://localhost:3000/static/js/bundle.js:883202:12)
at NodeViewDesc.create (http://localhost:3000/static/js/bundle.js:884648:79)
at ViewTreeUpdater.addNode (http://localhost:3000/static/js/bundle.js:885233:29)
at http://localhost:3000/static/js/bundle.js:884726:17
at iterDeco (http://localhost:3000/static/js/bundle.js:885340:7)
at NodeViewDesc.updateChildren (http://localhost:3000/static/js/bundle.js:884714:5)
at docViewDesc (http://localhost:3000/static/js/bundle.js:884839:35)
at new EditorView (http://localhost:3000/static/js/bundle.js:888411:20)
at Editor.createView (http://localhost:3000/static/js/bundle.js:876983:23)
at Editor.mount (http://localhost:3000/static/js/bundle.js:876700:10)
at e.mount (http://localhost:3000/static/js/bundle.js:810359:123)
at http://localhost:3000/static/js/bundle.js:824626:99
at commitAttachRef (http://localhost:3000/static/js/bundle.js:690373:24)
at commitLayoutEffectOnFiber (http://localhost:3000/static/js/bundle.js:690254:13)
at commitLayoutMountEffects_complete (http://localhost:3000/static/js/bundle.js:691253:13)

"@blocknote/core": "0.51.0",
"@blocknote/mantine": "0.51.0",
"@blocknote/react": "0.51.0",
"@blocknote/xl-ai": "0.51.0",

What did you expect to happen?

The page is crashing now. Can you provide a solution for this?

Steps to reproduce

No response

BlockNote version

No response

Environment

No response

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue has not yet been reviewed or classified by maintainers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions