Skip to content

How to create a new plugin to wrap selected text in a DIV block #508

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

You must be logged in to vote

Did you update to 0.62.0? You can easily set classNames on any plugin. See the options https://slate-plugins-next.netlify.app/?path=/docs/api-renderelement--page

For id generation, you can use withNodeID

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
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
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #204 on February 22, 2021 18:22.