How to create a new line in table?

Now I have a simple table schema for parsing markdown table.

Here are th and td schemas

th: {
      content: "inline*",
      group: "block",
      parseDOM: [{tag: "th"}],
      toDOM() { return ["th",{},['p', 0]]}
    },
td: {
      content: "inline*",
      group: "block",
      parseDOM: [{tag: "td"}],
      toDOM() { return ["td",{},['p', 0]]}
    },

Now I want to create a new line in the dom or do not delete the tr \ td dom when I press delete button or backspace button . How to achive it?

Maybe the isolating node config option is what you’re looking for?

Oh, I just added this property, but I got nothing change whent I press Enter

@marijn I think I understand what this config uses for.

And now I want to delete the selection by press backspace or delete across the table cell, but I delete the text including the dom tr or th, how to keep the table intact?