Hi
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
Hi
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
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;
});