Fit a food processor with the shredding (or grating) blade. Cut the cabbage into wedges that will fit through the feed tube of the processor and shred or grate. Transfer to a large bowl. Repeat with the bell peppers, carrots, and onion. Transfer each batch to the bowl with the cabbage; set aside.
In a 4-quart saucepan, combine the vinegar, sugar, yellow mustard, salt, mustard seeds, celery seeds, and red pepper flakes over high heat and bring to a boil, stirring to dissolve the sugar. Reduce the heat to medium.
Add the shredded vegetables to the hot liquid, stirring gently to combine. Cook for 5 minutes, stirring occasionally.
Transfer the slaw and liquid to a large crock or container, let cool to room temperature, then refrigerate for at least 4 hours or up to 2 days before serving to allow the flavors to meld.
