Only some of the rules work


this in my Sandbox

I add a few custom rules

But only some of them work, Why?

My main goal is: to block ‘copy’ some of the shapes…

Thanks :slight_smile:

Make sure to add your custom rules with a higher priority so they actually override the existing rules.

const HIGH_PRIORITY = 2000;

this.addRule("element.copy", HIGH_PRIORITY, function() {
  return false;
1 Like

@philippfromme Thanks :slight_smile: