You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some problems updating the Toolbar while an ImageNode is selected. I'm trying to style a toolbar button depending on if the selection is an ImageNode or not.
This issue seems to be present on the playground too, so I'm not sure if it's a feature or a bug. It seems that when you select in ImageNode, it's not registered as an Editor update event, like other selections are.
I have attached an example video from the playground. If styling/formatting is applied to a normal node, and then an ImageNode is selected, the toolbar doesn't update. If you use toolbar functions like change alignment, it works but the toolbar listener for editor update still doesn't trigger.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having some problems updating the Toolbar while an ImageNode is selected. I'm trying to style a toolbar button depending on if the selection is an ImageNode or not.
This issue seems to be present on the playground too, so I'm not sure if it's a feature or a bug. It seems that when you select in ImageNode, it's not registered as an Editor update event, like other selections are.
I have attached an example video from the playground. If styling/formatting is applied to a normal node, and then an ImageNode is selected, the toolbar doesn't update. If you use toolbar functions like change alignment, it works but the toolbar listener for editor update still doesn't trigger.
imageNode.mp4
Beta Was this translation helpful? Give feedback.
All reactions