Dynamically providing titles/icons #2834
Unanswered
dendrondal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've written a generic plugin that dynamically creates a table from it from an API. My hope was that I could list multiple instances in my EditorJS config, providing them different titles. However, as it seems the
static get toolbox()
is called before the constructor, this seems difficult. The idea is the endpoints it hits to render/update the table would be provided fromthis.config.name
. Currently this is how the toolbox is set up:And the plugin is initialized as follows:
Currenly, it only renders with the defaults. Is there any way to accomplish this?
Beta Was this translation helpful? Give feedback.
All reactions