Preheat the oven to 400°F (200°C) and line a large sheet pan with parchment paper.
Grate the tofu using a cheese grater and add it to a large bowl.
Add the black beans, onion, bell pepper, jalapeño, corn, vegan cheese (if using), vegan yogurt, salsa, and all taco seasoning ingredients. Mix until fully combined.
Arrange 2 tortillas in the center of the sheet pan and place the remaining tortillas around the edges, overlapping and hanging slightly over the sides.
Spread the quesadilla filling evenly across the tortillas, reaching all edges.
Place the remaining tortillas over the center filling, then fold the overhanging tortillas inward to fully cover the mixture.
Lightly spray the top with cooking spray if desired. Place another sheet pan on top to weigh it down.
Bake for 20 minutes. Remove the top pan and bake for another 10–15 minutes until golden and crispy.
Remove from the oven, let cool slightly, slice into 15 pieces, and serve