New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default component settings not updated in html if not changed. #230
Comments
thanks @aryeharmon can you provide an example of your issue? |
If for example i have a component with traits:
if i add a block with that component, when i add it to the page. the html element will not have my default settings. only if i change the value in the settings will the element update
i hope i'm clear, let me know if not i will try to explain better. |
thanks @aryeharmon got it and confirmed |
I tried changing the the value on block drop event, however this only worked when the component was selected. |
@aryeharmon you might want this editor.on('block:drag:stop', function(model){
//...
}); |
@artf it seems like the html only gets updated on a component that is selected by the builder. how would i would automatically select a component that is dropped? |
thanks @aryeharmon just realized I haven't provided an easy API method to select a component, will add it in the next release |
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. |
No description provided.
The text was updated successfully, but these errors were encountered: