Skip to content
Discussion options

You must be logged in to vote

Well, you have different options here:

  1. Load your traits data before creating GrapesJS instance (so you don't even need to reload the plugin)
  2. Create a custom trait, where inside onUpdate you can check and update traits options every time a component with that trait is selected

Replies: 2 comments 6 replies

Comment options

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

artf Sep 9, 2021
Maintainer

@harsh201
Comment options

Comment options

You must be logged in to vote
4 replies
@harsh201
Comment options

@artf
Comment options

artf Sep 17, 2021
Maintainer

@harsh201
Comment options

@harsh201
Comment options

Answer selected by harsh201
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