Skip to content

Copy paste Complex Custom React Extension not working #3565

Discussion options

You must be logged in to vote

If your custom node is an atom, you can implement a renderText (https://tiptap.dev/docs/editor/core-concepts/schema#content)

renderText({ node }) {
  return `<body-item-node prop="${node.attrs.id}"></body-item-node>`
},

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nperez0111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants