Issue #1106💬 AnsweredOpened May 13, 2018by kuldeepcis0 reactions

Traits setting not work after reload

Quick answerby artf

This is because you're selecting your div wrapper and not the actual component, you can make not selectable: <div data-js="social-icons" data-gjs-selectable="false"> ...Trait's value is set from the component's model, so if you use changeProp the value is inside component.get(TRAITNAME) otherwise component.getAttribut...

Read full answer below ↓

Question

Hello @artf previous issue

Yes, you're right traits are there but you didn't read the my issues those I'm facing.

1. when you drag and drop a social element, to change the value you've to select element first after that parent of that. Direct element not selected. 2) Traits value not pre-selected on page load. 3) when you export it the facebook icon is not having the URL which we set.Please let me know how we can do that.

Answers (2)

artfMay 14, 2018

This is because you're selecting your div wrapper and not the actual component, you can make not selectable: <div data-js="social-icons" data-gjs-selectable="false"> ...Trait's value is set from the component's model, so if you use changeProp the value is inside component.get(TRAITNAME) otherwise c...

lock[bot]September 17, 2019

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

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.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.