About changing the configuration items on the chart
Question
Sorry, there's a problem that's been bothering me。
I created a component for chart.
I write configuration items in script

And I want the user to be able to modify the configuration items
The problem is I can't get the chart
Answers (2)
You're completely misunderstanding the concept of JS in Components. Read the basics https://grapesjs.com/docs/modules/Components-js.html#basic-scripts and search in issues before posting a new one
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1216
get script from the block
excuse me.i want to modify configuration items for charts.so i should get the chart in script from the block.But I haven't found the right...
Issue #1175
How to modify the content of the added block
sorry,I created a type for button and I don't know how to change the content of the button.thanks so much!!
Issue #1299
Add a new trait
hi,sorry,My English is poor. I want to add a new trait for a block . how should i do it? for example: add a trait about xaxis for the chart.
Issue #362
How to create custom link components that prompts users to type link/choose link similar to Images Component Modal
Image Components have logic to call Modal and prompt user's interaction for options/configuration of image url. Would like to do similar to...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.