code: function onCopy(
      // The plugin options
      opts?: Options,
      event: *,
      change: Change,
      editor: Editor
  ): Object {
      const copiedFragment = getCopiedFragment(opts, change.value);
  
      if (!copiedFragment) {
          // Default copy behavior
          return null;
      }
  
      // Override default onCopy
      cloneFragment(event, change.value, copiedFragment);
      return true;
  }
docs: Handle copying content of tables