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've added a custom attribute to a Link element in my project. This attribute stores the IDs of certain elements that the link is associated with (these are separate from the source and target elements directly connected by the link).
When I use Ctrl + C to copy a link, I want the copied link’s custom attribute to automatically update with the new IDs of the associated elements that are also being copied to the clipboard.
To clarify:
The link has a custom attribute that stores IDs of other elements (not the source and target).
When I copy the link, these associated elements are also copied.
I need the new, copied link to reference the IDs of the newly created elements instead of the original IDs.
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
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
-
Introduction
I've added a custom attribute to a
Link
element in my project. This attribute stores the IDs of certain elements that the link is associated with (these are separate from the source and target elements directly connected by the link).When I use
Ctrl + C
to copy a link, I want the copied link’s custom attribute to automatically update with the new IDs of the associated elements that are also being copied to the clipboard.To clarify:
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS, JointJS+
Beta Was this translation helpful? Give feedback.
All reactions