Skip to content

custom schema error: Cannot create node for paragraph #1997

Discussion options

You must be logged in to vote

You remark AST is wrong. Your AST structure is like this:

{
    "type": "root",
    "children": [
        {
            "type": "paragraph",
            "position": {
                "start": {
                    "line": 2,
                    "column": 1,
                    "offset": 1
                },
                "end": {
                    "line": 7,
                    "column": 8,
                    "offset": 56
                }
            },
            "children": [
                {
                    "type": "card-node",
                    "children": [
                        {
                            "type": "paragraph",
                            "children": [

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dingshaohua-com
Comment options

@dingshaohua-com
Comment options

Answer selected by dingshaohua-com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #1995 on June 27, 2025 02:59.