hunk.code_window:       if (!instance.ref) {
           return null
         }
         if (element === instance.ref.current) {
           return p
         }
         // If there's no `tmp` then we're at a leaf node without success.
         if (!instance.tmp) {
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:       if (nodeElement === instance.ref.current) {
  
hunk.file_path: packages/slate-react/src/plugins/react/queries.js
hunk.type: replace
file: {
    "object": "value",
    "document": {
      "object": "document",
      "nodes": [
        {
          "object": "block",
          "type": "paragraph",
          "nodes": [
            {
              "object": "text",
              "text":
                "Since the editor is based on a recursive tree model, similar to an HTML document, you can create complex nested structures, like tables:"
            }
          ]
        },
        {
          "object": "block",
          "type": "table",
          "nodes": [
            {
              "object": "block",
              "type": "table-row",
              "nodes": [
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": ""
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "Human",
                      "marks": [{ "type": "bold" }]
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "Dog",
                      "marks": [{ "type": "bold" }]
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "Cat",
                      "marks": [{ "type": "bold" }]
                    }
                  ]
                }
              ]
            },
            {
              "object": "block",
              "type": "table-row",
              "nodes": [
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "# of Feet",
                      "marks": [{ "type": "bold" }]
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "2"
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "4"
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "4"
                    }
                  ]
                }
              ]
            },
            {
              "object": "block",
              "type": "table-row",
              "nodes": [
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "# of Lives",
                      "marks": [{ "type": "bold" }]
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "1"
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "1"
                    }
                  ]
                },
                {
                  "object": "block",
                  "type": "table-cell",
                  "nodes": [
                    {
                      "object": "text",
                      "text": "9"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "object": "block",
          "type": "paragraph",
          "nodes": [
            {
              "object": "text",
              "text":
                "This table is just a basic example of rendering a table, and it doesn't have fancy functionality. But you could augment it to add support for navigating with arrow keys, displaying table headers, adding column and rows, or even formulas if you wanted to get really crazy!"
            }
          ]
        }
      ]
    }
  }
  