Replies: 1 comment 2 replies
-
Hey @glaprida I think it might be related to your |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I have the following code to render a Toolbar for each element.
I have it on component:selected because the toolbar may vary depending on the context of the component (for example, it may not have traits when first dragged onto canvas, but if it's then moved inside a certain component, it may "win" certain traits)
but I also have some code under component:styleUpdate (to sync styles between linked components [a custom feature of my own editor]), but it triggers everytime I select an element, because of the Toolbar.
this logs the following object:
Is this the intended behavior? or is it a bug?
Should I do the toolbar differently??
is there a way to to check if what changed is actually a style?
as of my testing, I can't seem to get a
changed: {someStyle}
when I do actual style changes.Beta Was this translation helpful? Give feedback.
All reactions