Skip to content

Replaceable elements #963

Answered by zbeyens
vimtor asked this question in Q&A
Aug 25, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

getRenderElement accepts an array of plugin key, can you try getRenderElement(['replaced-variable', 'template-variable'])?

With a plugin factory you can recreate the plugins, then if you give a new reference to Plate plugins prop, it should update them

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vimtor
Comment options

@zbeyens
Comment options

@vimtor
Comment options

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
None yet
2 participants