Skip to content

Nested Blocks (Using Plate component rendering in custom elements) #2119

Closed Answered by zbeyens
JesseLiii asked this question in Q&A
Discussion options

You must be logged in to vote

You can have nested blocks in Plate. Just create a plugin for each element. See the list plugin as reference: https://github.com/udecode/plate/blob/337162a75240987a052a5d2efc8c5d470ebb0c13/packages/list/src/createListPlugin.ts.

The main work you need to do is in the components.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zbeyens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants