code: function isSelectionOutOfTable(opts: Options, value: Value): boolean {
      if (!value.selection.startKey) return false;
  
      const { startKey, endKey } = value;
  
      const startPosition = TablePosition.create(opts, value.document, startKey);
      const endPosition = TablePosition.create(opts, value.document, endKey);
  
      // Only handle events in tables
      return !startPosition.isInTable() && !endPosition.isInTable();
  }
docs: Are the selection start and end outside a table.