Prevent editor from getting copy/paste events if deactivated