rete icon indicating copy to clipboard operation
rete copied to clipboard

How to create a readonly node?

Open rajasegar opened this issue 3 years ago • 1 comments

I couldn't find any documentation on creating a read-only node which cannot be modified, cloned or deleted?

rajasegar avatar Nov 18 '21 10:11 rajasegar

which cannot be modified

or deleted

You can follow this example and implement your own handler for the listed events, and return false only for a specific node

cloned

Probably we are talking about copying through the context menu. In this case you need to define custom nodeItems option to hide 'Clone' item

Ni55aN avatar Nov 18 '21 20:11 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 Jul 13 '23 10:07 rete-js[bot]