Skip to content

Can I dynamically add extensions to an editor created in useEditor later? #6057

Discussion options

You must be logged in to vote

Not without destroying and recreating the Tiptap editor instance. Extensions and Plugins are registered when the editor is created.

You could create your provider outside of your editor wrapper & conditionally render the editor including the useEditor hook when your provider is setup already.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@masyuko0222
Comment options

@MARIOMARUI
Comment options

Answer selected by bdbch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants