Unable to update the traits value in the HTML for custom component
Please keep track of your issues here, you're talking about the same case #1089
Read full answer below βQuestion
I have created a custom component for social icons.When selected this component i have two traits in setting facebook URL and show facebook , when i update the both it gets updated and is reflected in canvas but when i export i don't get the URL for facebook which is set via the traits. Below is the code attached. grapesjs.plugins.add('social-icons-component', (editor, opts = {}) => { let c = opts; let defaults = { blocks: 'social-icons', // Default style defaultStyle: true, // Default start time, eg. '2018-01-25 00:00' startTime: '', // Default style defaultStyle: true, // Default start time...
Answers (2)
Please keep track of your issues here, you're talking about the same case #1089
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 #1723
[QUESTION] replacing particular text in dropped component
Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and ren...
Issue #486
Custom Component not editable and also after traits update canvas does not update
below is code i used for traits and custom section but after adding component via block, cannot edit text or trait update does not update c...
Issue #1665
Jquery selector in traits Actions
I have created a custom component and and select to its traits, this select cotains multiple URLs. in doStuff() method i've displayed the s...
Issue #1535
[Bug]: After custom component is deleted the Trait's view does not clear out
Hi, I'm using the grapesjs library version 0.14.33. I've created some custom components and I've noticed that on deleting the components th...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βRelated tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.