rete icon indicating copy to clipboard operation
rete copied to clipboard

Menu handle on top right of node

Open michaelsboost opened this issue 11 months ago • 1 comments

I would love to use this framework to build my app but it's focused on mobile and I don't see anyway to add a menubar to each node where on the top right users would be able to clone or delete that specific node.

Similar to how BaklavaJS does it here - https://codesandbox.io/p/sandbox/baklavajs-v2-example-zpfkec

Demo only for BaklavaJS - https://zpfkec.csb.app/

michaelsboost avatar Mar 23 '24 17:03 michaelsboost

it can be done using a custom node

https://retejs.org/examples/customization/react in CustomNode you can add a button with onClick, e.g. onClick={props.data.openContentMenu}

where props.data is a Node instance with openContentMenu handler you specify

Ni55aN avatar Mar 27 '24 20:03 Ni55aN

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

rete-js[bot] avatar Aug 04 '24 01:08 rete-js[bot]

This issue was closed because it has been stalled for 10 days with no activity.

rete-js[bot] avatar Aug 25 '24 01:08 rete-js[bot]